[QUOTE=DeanWinchester;34380981]Really depends on how complex you want it to be, try to plan for something you think you can do on time and go for it, everything else can be added later on if you feel like expanding on it.[/QUOTE]
Some more info/questions: I have until the end of my senior year to do this, and started research on it 4 months ago (A lot of internet trolling), though I'm not very rigorous on programming technique. My question is: just how, may I say, modular is a game like a Roguelike? Is it very likely I'd need to completely rewrite the code several times to add in new features?
[img]http://i.imgur.com/0m2fT.png[/img]
Oh cool, it's a game now.
[QUOTE=DoctorSalt;34381230]Some more info/questions: I have until the end of my senior year to do this, and started research on it 4 months ago (A lot of internet trolling), though I'm not very rigorous on programming technique. My question is: just how, may I say, modular is a game like a Roguelike? Is it very likely I'd need to completely rewrite the code several times to add in new features?[/QUOTE]
How modular it is is not defined by the genre of game you're aiming for but by the way you code it, it really depends on how much time you want to spend on it but if you aim for modular from the beginning then it will be easier than doing it later and will also save you time in the future. Think object oriented programming and you'll be fine (inheritance, etc).
As for my uni project, made some optimizations before working on raytracing (which will make it much faster), basically stopped faces touching each other from drawing and gained 28 FPS on a 32x32x32 chunk (32768 cubes):
[img]http://dl.dropbox.com/u/44918480/OpenGL/javaw%202012-01-25%2002-19-16-99.png[/img]
[thumb]http://i.imgur.com/ELRQx.jpg[/thumb]
Did some modifications to SiriProxy and now it's working on my iPad! I also scaled up the graphics and made them work on iPad.
NOTE: SiriProxy isn't [U]running[/U] on my iPad, but it is communicating correctly with my iPad.
[QUOTE=slime73;34381223]LÖVE's filesystem module can also read from and write to the save directory. See [url]https://love2d.org/wiki/love.filesystem[/url] and [url]https://love2d.org/wiki/love.filesystem.setIdentity[/url][/QUOTE]
I wasn't sure if you could read from there. It's currently where I'm writing the outputted files. But even with that the user would have to take their image and drop it into the folder which is pretty awkward just to import a single image. I'll see what I can do once I finish the animation stuff.
[QUOTE=Map in a box;34381184]Why do you have to manually enter the position of the "pins"?[/QUOTE]
So that the game knows where to put the wires.
[QUOTE=ief014;34381554]So that the game knows where to put the wires.[/QUOTE]
Can it not be calculated?
Wow, everyone's work on this page is amazing, meanwhile I was only able to get complex numbers working properly for a math lib I'm doing as a side-project :(
[IMG]http://i.imgur.com/1Y30w.png[/IMG]
[QUOTE=Map in a box;34381680]Can it not be calculated?[/QUOTE]
There are components where the pins start from the top and go down, there's some pins that are centered, there's some components where the pins have a gap to "group" them. My game is all about being customizable.
DEFCON always solicits feeling of inadequacy in me.
[QUOTE=Ortzinator;34382032]DEFCON always solicits feeling of inadequacy in me.[/QUOTE]
Which, the game, the conference, or the nuclear attack probability?
[QUOTE=PieClock;34381470]I wasn't sure if you could read from there. It's currently where I'm writing the outputted files. But even with that the user would have to take their image and drop it into the folder which is pretty awkward just to import a single image. I'll see what I can do once I finish the animation stuff.[/QUOTE]
I suppose you could use the regular Lua io stuff to make an import thing to move a file to the LÖVE save directory, or something.
[QUOTE=supersnail11;34382117]Which, the game, the conference, or the nuclear attack probability?[/QUOTE]
I think he means the conference.
[QUOTE=Ortzinator;34382032]DEFCON always solicits feeling of inadequacy in me.[/QUOTE]
While I'm watching DEFCON videos, I always get really inspired to do something then afterwards I suddenly realise I wouldn't have the faintest clue where to start. It's simultaneously inspiring and depressing.
[QUOTE=i300;34381381][thumb]http://i.imgur.com/ELRQx.jpg[/thumb]
Did some modifications to SiriProxy and now it's working on my iPad! I also scaled up the graphics and made them work on iPad.
NOTE: SiriProxy isn't [U]running[/U] on my iPad, but it is communicating correctly with my iPad.[/QUOTE]
what did you change?
[editline]25th January 2012[/editline]
Twostroke now has some tracing functionality:
[img]http://i.imgur.com/Vn20e.png[/img]
There's two methods you can pass a callback function to - setLineTrace and setInstructionTrace. Line tracing lets you run some code on every line and instruction tracing lets you hook into every VM instruction.
[img]http://puu.sh/evwR[/img]
First WAYWO post. For the past couple days I've been working on a good screenshot tool for OS X, because apparently there aren't any good ones that can upload to FTP (or any decent services). So, I figured, I'd whip one up.
[IMG]http://i.imgur.com/GfO8K.png[/IMG]
[I]Menubar Menu... I may also put recent uploads in there[/I]
[IMG]http://i.imgur.com/FuQwn.png[/IMG]
[I]General Preferences.[/I]
[IMG]http://i.imgur.com/gT4y4.png[/IMG]
[I]W.I.P., where you configure where your image gets saved to. You can have multiple targets, and then at the bottom you can choose what content is put on the clipboard.[/I]
I was thinking I'd add the ability to save the file locally, upload via FTP, DropBox, Imgur, and maybe Flickr. If anybody has any other ideas, I'm definitely open.
Wrote a binary tree with an E-Z depth first populator thing. It uses stacks :downs:
[img]http://dl.dropbox.com/u/45554193/images/alphabinary.png[/img]
I'm thinking of trying to make an interpreted language that uses a VM based on qubits
That would be fun
[QUOTE=Cup of Joe;34383519]First WAYWO post. For the past couple days I've been working on a good screenshot tool for OS X, because apparently there aren't any good ones that can upload to FTP (or any decent services). So, I figured, I'd whip one up.
[IMG]http://i.imgur.com/GfO8K.png[/IMG]
[I]Menubar Menu... I may also put recent uploads in there[/I]
[IMG]http://i.imgur.com/FuQwn.png[/IMG]
[I]General Preferences.[/I]
[IMG]http://i.imgur.com/gT4y4.png[/IMG]
[I]W.I.P., where you configure where your image gets saved to. You can have multiple targets, and then at the bottom you can choose what content is put on the clipboard.[/I]
I was thinking I'd add the ability to save the file locally, upload via FTP, DropBox, Imgur, and maybe Flickr. If anybody has any other ideas, I'm definitely open.[/QUOTE]
can you make it hook the cmd+shift+* key combinations like cloudapp does?
Not WAYWO but I found this really helpful site that help set up regex for a bunch of different languages.
I don't know shit about regex and I got exactly what I needed out of it in about 15 seconds.
[url]http://txt2re.com/[/url]
[QUOTE=Bluefire;34381790]Wow, everyone's work on this page is amazing, meanwhile I was only able to get complex numbers working properly for a math lib I'm doing as a side-project :(
[IMG]http://i.imgur.com/1Y30w.png[/IMG][/QUOTE]
I would argue that anything math where you aren't performing basic arithmetic on fixed integers can be a nightmare, so good on you for getting them to work right :)
red cluster can see all green clusters so I can just render the faces in them clusters if I'm standing in that room.
[img]http://dl.dropbox.com/u/99765/b83924.png[/img]
Not terribly impressive I know but I've been putting off visibility for so long now.
[QUOTE=WalkDinosaur;34383303][img]http://puu.sh/evwR[/img][/QUOTE]Sorry if i'm late, but have we not all acknowledged that you're geel9 yet? It says so on the android market page.
[QUOTE=C:\;34384982]Sorry if i'm late, but have we not all acknowledged that you're geel9 yet? It says so on the android market page.[/QUOTE]
I don't think it was a secret. Overv tweeted that he gave FPAndroid to geel9 and then WalkDinosaur started posting about it.
[QUOTE=C:\;34384982]Sorry if i'm late, but have we not all acknowledged that you're geel9 yet? It says so on the android market page.[/QUOTE]
oh wow, everything makes sense now
[QUOTE=Cup of Joe;34383519]First WAYWO post. For the past couple days I've been working on a good screenshot tool for OS X, because apparently there aren't any good ones that can upload to FTP (or any decent services). So, I figured, I'd whip one up.
[IMG]http://i.imgur.com/GfO8K.png[/IMG]
[I]Menubar Menu... I may also put recent uploads in there[/I]
[IMG]http://i.imgur.com/FuQwn.png[/IMG]
[I]General Preferences.[/I]
[IMG]http://i.imgur.com/gT4y4.png[/IMG]
[I]W.I.P., where you configure where your image gets saved to. You can have multiple targets, and then at the bottom you can choose what content is put on the clipboard.[/I]
I was thinking I'd add the ability to save the file locally, upload via FTP, DropBox, Imgur, and maybe Flickr. If anybody has any other ideas, I'm definitely open.[/QUOTE]
Are you using a GUI library? I want to make something similar and I can't decide between wxWidgets and Qt.
Wrote a lua http server. I thought it would be fun, and it was/is.
You can write a lua script such as:
[lua]
Hello, <?lua write(EscapeHTML(GET.name or "Anonymous")) ?>. How are you doing?
<br/>
<br/>
Would you like to see my table?
<?lua
include("inc/testinc.lua")
local TestTable = {
TestNumber = 123,
TestString = "Hello, world!",
TestFunc = function() end,
TestTable2 = {
Does_this_work = true,
Well = "it sure does!"
}
}
PrintTable(TestTable, "border=1")
?>
[/lua]
Then [url]http://localhost:8080/[/url]
[html]
Hello, Anonymous. How are you doing?
<br/>
<br/>
Would you like to see my table?
<table border=1 >
<tr><td>TestTable2:</td><td>table: 0xb6f01b08</td></tr>
<tr><td></td><td>Well</td><td>it sure does!</td></tr>
<tr><td></td><td>Does_this_work</td><td>true</td></tr>
<tr><td>TestNumber</td><td>123</td></tr>
<tr><td>TestFunc</td><td>function: 0xb6f12790</td></tr>
<tr><td>TestString</td><td>Hello, world!</td></tr>
</table>
[/html]
[img]http://i.imgur.com/GgHTR.png[/img]
write() should automatically escape html
Then what about this?
[lua]
<?lua
local function m_PrintTable(tbl, donetbls, depth)
donetbls = donetbls or {}
depth = depth or 0
if donetbls[tbl] then return end -- prevent stack overflows
donetbls[tbl] = true
local tabs = string.rep("<td></td>", depth)
for k,v in pairs(tbl) do
if type (v) == "table" then
writef("<tr>%s<td>%s:</td><td>%s</td></tr>\n", tabs, EscapeHTML(tostring(k)), EscapeHTML(tostring(v)))
m_PrintTable(tbl[k], donetbls, depth + 1)
else
writef("<tr>%s<td>%s</td><td>%s</td></tr>\n", tabs, EscapeHTML(tostring(k)), EscapeHTML(tostring(v)))
end
end
end
function PrintTable(tbl, metadata)
writef("<table %s >\n", metadata or "")
m_PrintTable(tbl)
write("</table>\n")
end
?>
[/lua]
If you need to output HTML, then you should have to [i]explicitly[/i] unescape it.
[editline]25th January 2012[/editline]
ie. it should be easier to output with escaping than without
Sorry, you need to Log In to post a reply to this thread.