Show Posts
|
|
Pages: [1] 2 3 ... 6
|
|
1
|
Game Development / Newbie & Debugging Questions / Re: Sprite not being drawned where i ask to be.
|
on: 2013-05-25 03:01:54
|
I can't see anything wrong with the classes quickly, it has too be how you are creating the explosion. I'm going to assume, you are feeding in random positions into the method instead of the enemy's location 1
| new Explosion(sm, enemy.xPos, enemy.yPos); |
That will render it to where the x and y pos are, but if u wanted it centered, you can add half the width to xPos, and half the height for yPos and it should be centered.
|
|
|
|
|
2
|
Discussions / General Discussions / Re: Weirdest Practical Programming Language
|
on: 2013-05-11 15:55:08
|
is like the opening of the program, all LOLCODE words represent pretty much there meaning HAI - hello, like a new coversation CAN HAS - Can I have KTHXBYE - Ok i am done now, thanks bye AWSUM THX - it returned true, in this case, the file "LOLCATS.txt" was found O NOES - something returned false - in this case, the file "LOLCATS.txt" was invalid VISIBLE - make this visible for the user INVISIBLE - like a System.out.println(); in your code for debugging purposes in other words, try and translate it to engligh before 1 2 3 4
| HAI CAN HAS STDIO? VISIBLE "HAI WORLD!" KTHXBYE |
translated 1 2 3 4
| new program import STDIO display message box "HAI WORLD" terminate program. |
|
|
|
|
|
5
|
Game Development / Game Mechanics / Re: Arrow Bow Physics - Help!
|
on: 2013-05-03 12:08:21
|
Projectiles travel in a parabola.
In a vacuum. Arrows follow flatter paths. Not neccessarily a vacuum. Any area not effected by gravity will do. It just happens that matter tends to exist around objects that have strong gravity. Now your getting further away. Projectiles move in a perfect parabola due to the gravity, if gravity did not exist, the projectile would travel in a straight line in the angle you shoot. Gravity will push down on the projectile, causing it to move in a parabola. and to pjt33, not sure what a flatter path is, quick google search didn't return me anything useful, due to air resistance, it will not be perfect as the horizontal component will slow down, causing the flight path to not follow a parabola that is worked out without the the effect of air resistance.
|
|
|
|
|
6
|
Games Center / Contests / Re: Ludum Dare 26 starting 26th April!
|
on: 2013-05-01 07:00:32
|
|
From all the good responses to my game so far, almost all comments say "great concept", soon I may actually add more features to the game.
Probably add particle effects to the jetpack (not sure what else other then jetpack could do with particles). Redo the Tone Tiles sound, so it is a bit easier to differentiate the sounds. Multi Tone doors. Make the player spawn closer to the door in each level, some did not like the repetitiveness of having to move to the door, then move all the way back through the level to find the tone (later levels, you do spawn near a door)
|
|
|
|
|
11
|
Game Development / Newbie & Debugging Questions / Re: Easy way to click an image
|
on: 2013-04-25 16:19:07
|
Im sure you have a Input Handler of some sought, that handles muse and keyboard presses. If you do not have an InputHandler, research that first. Now you have your InputHandler, the simplest way, would to check if the cursor is within a region e.g. a rectangle or square, once determined the cursor is within the rectangle, you should then check for a mouse clicked. You should have a class called Button, that will have a render and update method, that you update in your menu screen class. Inside the update method you would have this 1 2 3 4 5 6 7 8 9 10
| public void update(InputHandler input){ if(( input.mouseX > image.getX() && input.mouseX < (image.getX() + image.getWidth()) ) && (input.mouseY > image.getY() && input.mouseY < (image.getY() + image.getHeight() )){
if(input.leftMouseButtonClicked == true){ System.out.println("The button works!"); } } } |
The first if statement checks to see if the mouse cursor is within a rectangle of the size of the image, if it is, it will then checked it the mouse is clicked it will then proceed and change the screen, in this case print "The button works!".
|
|
|
|
|
13
|
Games Center / WIP games, tools & toy projects / Re: A Java scripting language -- Leola
|
on: 2013-04-21 17:01:04
|
|
Try and scavenge those extra minutes over the 48 hours or even the 72 hour jam, even if the game is not great or hardly fits the theme, put it up, just mention you did not have the time, and you were able to produce this in x amount of time.
If not post up on the website anyway, mention the language, someone may like it and start following its progress, maybe even enter the next LD with it.
|
|
|
|
|
16
|
Games Center / Cube World Projects / Re: Sparky's little Cube World Project
|
on: 2013-04-20 16:06:08
|
benCraftAlpha3_17_E.jar is what i downloaded (in case you put up a wrong file)  Had to cut down the size of the image, so I only posted the main bits, In Australia we have usage caps, and I capped mine, but it should be reset on the 23rd. I'm wondering how I managed to survive on dial up lol
|
|
|
|
|
21
|
Discussions / Miscellaneous Topics / Re: Razar Black Widow Ultimate! DEAD!
|
on: 2013-04-16 02:53:03
|
|
You can remove each key individually, I have a black widow too, just grab a ID, gift card etc (something plastic) put it behind the back of the key, and kind of turn the side of it upwards (turn the ID, gift card etc, clockwise), the key should then pop out.
The space bar and backspace have a bar across it, I think you can take it off normally, but i am not sure.
|
|
|
|
|
24
|
Game Development / Newbie & Debugging Questions / Re: Time based movement / deltaTime / Event Timing ?
|
on: 2013-04-12 15:37:50
|
|
Not all phones are equal, I don't think its really worth even trying to make every phone render at the same time.
Your "bigger smart phone" may have more background app's running then your "smaller smart phone", this would alter the speed as your phone would be running some background tasks, try closing everything but your game on both devices.
The hardware in the "smaller phone" could be better then in your "bigger phone" or your smaller phone just requires less processing time for its general things, (maybe less things need updating in the smaller phone).
Conclusion: If you try testing the delta time on different computers, you will also notice that every computer will give a different number, Delta is there to help fix the speed of the game for slower computers, the faster your computer is going, the less the delta value will be, meaning if you had a free loop, the delta value SHOULD make the movement of objects stay constant or pretty close between devices, despite the value of delta being greater or lower on one computer.
EDIT: Maybe your screen is a different resolution, your "bigger smart phone" probably has a higher resolution then your smaller phone.
Meaning the cube in the "smaller smart phone" has less distance to travel to the other side of the screen.
|
|
|
|
|
26
|
Discussions / Miscellaneous Topics / Re: Molydoors
|
on: 2013-04-08 10:03:24
|
Haha oh god @PeterMolydeux. I didn't know people actually attempted his crazy ideas.
Well this was really impressive, nice!
There was actually a game jam for him, have 48 hours (i think 48) to make a game based off any one of his tweets.
|
|
|
|
|
28
|
Game Development / Performance Tuning / Re: Speeding up Minecraft?
|
on: 2013-04-05 05:48:19
|
|
each block (since 1.5) has now got its own image file instead of located on a sprite sheet, this allowed them to have there own texture pack support for higher resolutions images.
The multiple texture binds may cause a bit of a frame rate drop, maybe you could hack in a way to convert the image to a sprite sheet too allow for only one bind.
*NOTE* I have not looked at the code, but if you look for the textures in the jar file, you will see each item / block has its own file since 1.5.
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|