qwerber
4717 posts
|
Topic: Game Programming /
Quick question...
If you want to share you game, create a blog site and host it somewhere for people to download.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
The heck is this? - "Waiting for GPU"
Originally posted by RTL_Shadow:
Alright, what would trigger getting info from the GPU? Are there certain things I need to look out for?
graphics :D
E: perhaps you can tell us what codes you area doing in the frame?
|
|
|
qwerber
4717 posts
|
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
The heck is this? - "Waiting for GPU"
If you look closely it says inactive, which means that everything you want has completely and that waiting for GPU time is just a filler.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
Camera
LOOP START:
move player and update player using default display object coordinate variables.
set the position of the container in such a way that the player ends up being in the center of the screen.
not that hard, this makes the players .x and .y variables legit in the game world, and just moves the outer container to show the player what they need to see.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
2D Shadow Effects
head to tail order of segments inconsistent, most likely.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
Tutorial done, breakout done, tetris done... now what? 4X doable?
try making a simple 4X game really simple, one that only has 1 unit type. Then try designing the mechanics to make it fun.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
2d World Vs 3D Character. 90's JRPG
Elyzius
…the bounds of the player is probably a circle positioned directly on his feet.
The video is most likely a case of 2d collision.
After examining the video the game could possibly using 3d collision (which would be pointless), but I want to mention that a 2d solution can be just as and even more accurate that 3d AABBs.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
Flashpunk 2 announced!
i think starling punk was out a bit before thisss/
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
[AS3 FD] Anti-aliasing
Originally posted by Langley:
Im not good with bitmaps never really saw one, heard about them though
its ok.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
Gamepad Support
Originally posted by RTL_Shadow:
When the heck is adobe going to support it?
you can probably do with with air and native extensions; or running a local server.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
New Tools From Adobe [aka old tools renamed from Adobe]
scout isn’t particularly useful for a lot of people including me. I feel you usually should know the bottleneck already, there are few cases where you can’t find the right place to optimize (for me at least). But yeah I’d be pissed too after using it for a while that it would require payment later on.
|
|
|
qwerber
4717 posts
|
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
What is the best Programming language to learn to make games?
It ignores a lot of the common things that make other languages hard to learn like accurately declaring variables, building a graphics engine, and memory allocation making it quick and easy to pick up.
AS3 is already like this, very forgiving. Forgiving is not always good, strict language is very important skill.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
Question about making stable save files in AS2
Originally posted by nosajimiki:
Is there a way to use a .js to convert a flash storage file to a more stable state, or does that only apply to Java based games.?
You can do save games letting the user save an encrypted file to a location of his choosing, but you need as3.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
What is the best Programming language to learn to make games?
You make good points, but I put C++ because OP mentioned that he wanted to learn to make games, not make games. Simpler languages are great for getting a product, but C++ prepares you for other platforms and really helps you make a game from ground up (including graphics :))
|
|
|
qwerber
4717 posts
|
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
So I made sun rays.
i dont even use degeree; my engine entirely uses radians.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
Lighting system difficulties
Originally posted by RTL_Shadow:
I used this concept: http://forums.tigsource.com/index.php?topic=8803.0
The article is great, but it has little information on blending :P There is a really good one on gamedev.net.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
So I made sun rays.
Originally posted by BobTheCoolGuy:
Originally posted by RTL_Shadow:
Originally posted by BobTheCoolGuy:
RTL, I’m curious as qwerber is. A lot of performance increase in math stuff does come from avoiding a function call (luckily we’ll have inlining in ASC 2.0) Post your FastMath class and performance test maybe?
Also, this:
Originally posted by DrYoshiyahu:
I was really upset when I wasn’t allowed to get the star. :(
I could very well be wrong, but when I did the whole getTimer trick it all added up.
FastMath Class: http://pastebin.com/LrnCBk3H
Vector2D Class: http://pastebin.com/ExE4XPWY
VectorUtils Class: http://pastebin.com/6W9qntDn
Ah, well, I didn’t test it, but you do have one small bug. Say you do Math.floor(-9.7). Your code would return -9 instead of -10. Same thing could happen for ceil I think. You also don’t have to explicitly cast your results to Number. I’m not sure what the performance impact of that is though.
Yes; your floor and ciel functions are bugged. If you already know you’re dealing wiht positive numbers however, I would simply inline int() instead of writing out FastMath.floor()
|
|
|
qwerber
4717 posts
|
Topic: The Arts /
Jazz Jackrabbit art thread.
Originally posted by Lime_:
do you ever have original ideas stealing donkey kong. but it really brings back good times for me
Originally posted by Lime_:
it reminds me so much of the classic rare game banjo kazooi best game ever i love this concept don’t quit its amazing.
I don’t think he’s copying ideas from DK though :)
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
Lighting system difficulties
Originally posted by DrYoshiyahu:
For my light, I created a circle that filled the screen with a radial gradient fill, from white to black, so that there was a white circle that faded to black, and I set the transfer mode to multiply so that the white became transperant so you could see the background, and it slowly got “darker” as the circle faded to black. The only problem with that is that I have a big shape over the whole screen with a gradient fill, and it moves with the player every frame so it’s fairly resource hungry.
If you have the oppurtunity stage3d is really worth a try :)
Originally posted by DrYoshiyahu:
For my light, I created a circle that filled the screen with a radial gradient fill, from white to black, so that there was a white circle that faded to black, and I set the transfer mode to multiply so that the white became transperant so you could see the background, and it slowly got “darker” as the circle faded to black. The only problem with that is that I have a big shape over the whole screen with a gradient fill, and it moves with the player every frame so it’s fairly resource hungry.
|
|
|
qwerber
4717 posts
|
Topic: Collaborations /
The Hero's of Olmpus. MMORPG. Need people to collabarate with.
Originally posted by Lime_:
the project was great. the only dumb thing there was the idiots who organized it. i thought i could help you just a little since i saw that you were struggling lol. i knew you would never do it.
you speak as if you are a seasoned developer. Please enlighten us.
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
Lighting system difficulties
if you want to do it fast and efficiently, you will being using concepts such as masking, color transforms, but you won’t be dealing with of these features flash has offered in the past. In my engine, masking is simulated by the stencil buffer and stencil actions, while, color blending in handled by some shader math. the actual blending with multiple lights requires configuring render functions correctly. I’m sure you know shadow geometry math, however :)
E: I might be missing your point. All you want is an accurate day/night color tone on game display objects?
|
|
|
qwerber
4717 posts
|
Topic: Game Programming /
So I made sun rays.
Using a Math class like that really doesn’t help with fastness unless you can inline it :P
|