[QUOTE=The Inzuki;28777880]Quality doesn't look that bad :v:
And the buttons do sort of highlight when you hover over them.
[img_thumb]http://i.imgur.com/FzLkv.png[/img_thumb][/QUOTE]
That looks godly. I love the blue-white glass combination.
What's it going to be, and where is that background from?
[QUOTE=Darwin226;28785209]That looks godly. I love the blue-white glass combination.
What's it going to be, and where is that background from?[/QUOTE]
Thanks! Didn't know if it'd work well or not at first.
It's going to be an adventure game and I have a feeling the background gives away where it's going to be at. The background is originally from a picture of mountains in switzerland, but I gave it more contrast and a drawing-ish effect because it fits the theme better :v:
[QUOTE=BlkDucky;28783546]Why is the Quake disc 3 times bigger than the other discs? :v:[/QUOTE]
No idea, sorry. :P
The real question is why is everyone paying attention to a little background image I had up at the time, you can barely see it.
"Barely"? It's almost the only thing I can see on my screen unless I scroll :v:
Wait, is it true you can serialize classes in C++ by doing:
[cpp]
file.write((char*)&entity, sizeof(entity))
[/cpp]
?
[QUOTE=neos300;28786811]Wait, is it true you can serialize classes in C++ by doing:
[cpp]
file.write((char*)&entity, sizeof(entity))
[/cpp]
?[/QUOTE]
Yes - but it's not perfect. If your classes have anything more complex in them than the basic data types it won't work as you might expect. Just something to be wary of.
[QUOTE=Chris220;28786886]Yes - but it's not perfect. If your classes have anything more complex in them than the basic data types it won't work as you might expect. Just something to be wary of.[/QUOTE]
So if my class contained another class (such as a sprite or some such for entity management) it would or would not work?
It isn't stored as a pointer though.
[editline]24th March 2011[/editline]
Or an std::map?
[QUOTE=neos300;28786919]So if my class contained another class (such as a sprite or some such for entity management) it would or would not work?
It isn't stored as a pointer though.
[editline]24th March 2011[/editline]
Or an std::map?[/QUOTE]
A std::map uses pointers, so that probably wouldn't work.
[QUOTE=neos300;28786919]So if my class contained another class (such as a sprite or some such for entity management) it would or would not work?
It isn't stored as a pointer though.
[editline]24th March 2011[/editline]
Or an std::map?[/QUOTE]
You can serialize them like that but the serialization might change between different platforms.
[editline]24th March 2011[/editline]
And compilers and compiled versions.
[QUOTE=neos300;28786811]Wait, is it true you can serialize classes in C++ by doing:
[cpp]
file.write((char*)&entity, sizeof(entity))
[/cpp]
?[/QUOTE]
reinterpret_cast<unsigned char>(entity), yes (assuming entity is not a pointer-type).
However, it's not as easy to deserialize it if entity is a (or stores objects of a) non-POD type.
And it's going to be fun if you stored pointer and/or references as the objects are not guaranteed to appear at the same address as before.
[QUOTE=ZeekyHBomb;28788064]reinterpret_cast<unsigned char>(entity), yes (assuming entity is not a pointer-type).
However, it's not as easy to deserialize it if entity is a (or stores objects of a) non-POD type.
And it's going to be fun if you stored pointer and/or references as the objects are not guaranteed to appear at the same address as before.[/QUOTE]
Use the preprocessor and create a datamap. You could also create special handlers for things like maps and C++ strings.
Here is some old and ugly code: [url]http://pastie.org/private/3tiotxl6uowh03qqic0cq[/url]
Just got an email from Research in Motion. If you create and submit a Blackberry Playbook application by March 31st, and it gets approved, you will be sent a free Blackberry Playbook once it ships at the end of April. Take a look if you're interested: [url]http://us.blackberry.com/developers/tablet/playbook_offer.jsp[/url]
[QUOTE=Shanethe13;28788283]Just got an email from Research in Motion. If you create and submit a Blackberry Playbook application by March 31st, and it gets approved, you will be sent a free Blackberry Playbook once it ships at the end of April. Take a look if you're interested: [url]http://us.blackberry.com/developers/tablet/playbook_offer.jsp[/url][/QUOTE]
Went to check the terms and conditions and whatever development resources there would be.
[img]http://gyazo.com/b44c2cae05603d71b566438090c0b493.png[/img]
You serious :v:
[editline]24th March 2011[/editline]
Well I guess it's better than the other choice which is Adobe AIR.
Whats wrong with Java?
[QUOTE=esalaka;28788401]Went to check the terms and conditions and whatever development resources there would be.
[img_thumb]http://gyazo.com/b44c2cae05603d71b566438090c0b493.png[/img_thumb]
You serious :v:
[editline]24th March 2011[/editline]
Well I guess it's better than the other choice which is Adobe AIR.[/QUOTE]
You'll only have to program for it once. If it meant a free Playbook (A $600 or so tablet computer), I'd be willing to write an app in APL.
[QUOTE=DevBug;28788440]Whats wrong with Java?[/QUOTE]
I wouldn't exactly say Java has 'unparalleled flexibility, power and control', but maybe that's just me.
[QUOTE=esalaka;28788646]I wouldn't exactly say Java has 'unparalleled flexibility, power and control', but maybe that's just me.[/QUOTE]
Java is probably turing complete, so technically its paralleled by almost every other programming language out there.
:v:
[QUOTE=Shanethe13;28788485]You'll only have to program for it once. If it meant a free Playbook (A $600 or so tablet computer), I'd be willing to write an app in APL.[/QUOTE]
Yeah, I was just speaking in general.
In addition, the terms said they won't be shipping the device until it is available for purchase at the location of a participant.
I've never seen a Blackberry product in Finland ever.
[QUOTE=esalaka;28788726]I've never seen a Blackberry product in Finland ever.[/QUOTE]
Ah okay. RIM's headquarters is about two minutes from my house, and employs half of the people in my city, so I'm sure there won't be any waiting on my part.
You're most likely comparing Java to something you have worked with [b]before[/b], that's a huge mistake. Java is a great language and yes it does have its own problems but, every language does. To say that Java [url=http://en.wikipedia.org/wiki/Just-in-time_compilation]isn't powerful[/url] is plain stupid the same goes for its [url=http://en.wikipedia.org/wiki/Write_once,_run_anywhere]flexibility[/url]. People like [url=http://en.wikipedia.org/wiki/Fanboy]you[/url] make me angry; you don't have anything to bring to the argument besides superstitions.
Edit: Carl, stop hiding behind your ratings.
[QUOTE=DevBug;28789072]You're most likely comparing Java to something you have worked with [b]before[/b], that's a huge mistake. Java is a great language and yes it does have its own problems but, every language does. To say that Java [url=http://en.wikipedia.org/wiki/Just-in-time_compilation]isn't powerful[/url] is plain stupid the same goes for its [url=http://en.wikipedia.org/wiki/Write_once,_run_anywhere]flexibility[/url]. People like [url=http://en.wikipedia.org/wiki/Fanboy]you[/url] make me angry; you don't have anything to bring to the argument besides superstitions.[/QUOTE]
Every language also has its own niche. If you are trying to write a game in Java, chances are you aren't using the right tool for the job. Java excels at back-end stuff, like databases or web-applications. I wouldn't say that Java is the best language to use for the sort of stuff I normally program, but I also wouldn't say that Java is a bad language because of that.
Oddly enough, I didn't have any motivation blocking when writing my map loader, but I can't be assed to write a program to write a test map (since it's a binary format) :v:
I just finished porting hq4x:
[img]http://dl.dropbox.com/u/5013896/forum/Facepunch/Programming%20WAYWO/hq4x.png[/img]
I still need to add documentation and LGPL notes, as well as a few minor tweaks on the interface, but all in all the lib should be ready for upload at some point tomorrow.
The GUI needs a bit more work until it's final, so I'll upload it at some point next week.
More moving platform stuff. (warning 5mb gif)
[img]http://f.anyhub.net/2h8D[/img]
This is the result of messing around with my [url=http://www.facepunch.com/threads/1062318-What-are-you-working-on-v16?p=28580994&viewfull=1#post28580994]programmable maps thing I made a week ago[/url]... Basically spamming blocks in a for loop with different y and speed values :v:
Also, you can now actually finish levels by touching the finish blocks, as you can see.
[QUOTE=Dlaor-guy;28789290]More moving platform stuff. (warning 5mb gif)
This is the result of messing around with my [url=http://www.facepunch.com/threads/1062318-What-are-you-working-on-v16?p=28580994&viewfull=1#post28580994]programmable maps thing I made a week ago[/url]... Basically spamming blocks in a for loop with different y and speed values :v:
Also, you can now actually finish levels by touching the finish blocks, as you can see.[/QUOTE]
Whoa, nice. :D
How are you doing the glow effect and those particles from the ball when you complete a level?
[QUOTE=Dlaor-guy;28789290]More moving platform stuff. (warning 5mb gif)
[img_thumb]http://f.anyhub.net/2h8D[/img_thumb]
This is the result of messing around with my [url=http://www.facepunch.com/threads/1062318-What-are-you-working-on-v16?p=28580994&viewfull=1#post28580994]programmable maps thing I made a week ago[/url]... Basically spamming blocks in a for loop with different y and speed values :v:
Also, you can now actually finish levels by touching the finish blocks, as you can see.[/QUOTE]
That looks awesome. What's the code for the level?
[QUOTE=xAustechx;28789340]Whoa, nice. :D
How are you doing the glow effect and those particles from the ball when you complete a level?[/QUOTE]
That's a simple particle effect with my simple particle system :v:
[QUOTE=geel9;28789343]That looks awesome. What's the code for the level?[/QUOTE]
You'll probably not be able to use this since basically all Lua stuff in here is made specifically for my game, but whatever:
[lua]LevelData{name = 'Elevators', x1 = 0, y1 = 0, x2 = w * 2, y2 = h}
Entity{type = 'Player', x = 216, y = 457}
Entity{type = 'Wall', x = 168, y = 504, variant = 3}
Entity{type = 'Wall', x = 216, y = 504, variant = 1}
Entity{type = 'Wall', x = 360, y = 504, variant = 1}
Entity{type = 'Wall', x = 264, y = 504, variant = 1}
Entity{type = 'Wall', x = 312, y = 504, variant = 1}
for i = 0, 5, 0.05 do
Entity{type = 'WallElevator', x = 408, y = 504 + i * 48, targetname = "E1", goalx = 984, goaly = 504, goaltime = 6 - i / 6} --Elevators, everywhere!
end
Entity{type = 'WallFinish', x = 1128, y = 504}
Entity{type = 'WallFinish', x = 1032, y = 504}
Entity{type = 'WallFinish', x = 1080, y = 504}
Entity{type = 'WallTriggerElevator', x = 408 + 24, y = 456, triggername = "E1"} --This triggers the whole thing[/lua]
Now I'm going to finish my homework :sigh:
Why do you people hate Java so much? A lot of you use C# which sits on top of the CLR and you don't complain about it's performance and how it's 'bloated'. I think it has more to do with someone's success using Java than old suspicions.
Edit: Thanks Dlaor for [url=http://www.facepunch.com/threads/1062318-What-are-you-working-on-v16?p=28581077&viewfull=1#post28581077]this[/url], it proves that esa is even more of a dumb ass.
[QUOTE=DevBug;28789556]Why do you people hate Java so much? A lot of you use C# which sits on top of the CLR and you don't complain about it's performance and how it's 'bloated'. I think it has more to do with someone's success using Java than old suspicions.
Edit: Thanks Dlaor for [url=http://www.facepunch.com/threads/1062318-What-are-you-working-on-v16?p=28581077&viewfull=1#post28581077]this[/url], it proves that esa is even more of a dumb ass.[/QUOTE]
it's more of the language not what it sits on.
[QUOTE=Dlaor-guy;28789290]More moving platform stuff. (warning 5mb gif)
[img_thumb]http://f.anyhub.net/2h8D[/img_thumb]
This is the result of messing around with my [url=http://www.facepunch.com/threads/1062318-What-are-you-working-on-v16?p=28580994&viewfull=1#post28580994]programmable maps thing I made a week ago[/url]... Basically spamming blocks in a for loop with different y and speed values :v:
Also, you can now actually finish levels by touching the finish blocks, as you can see.[/QUOTE]
You are [b]so[/b] going to submit that to steam when you're done, right?
Sorry, you need to Log In to post a reply to this thread.