June 2011
13 posts
9 tags
Vimeo Link: http://vimeo.com/24908285
AI Part 3
(v.008)
This update was fun to make. I tweaked the AI a bit, its still very difficult, but thats whats awesome about it. Enemies now have guns (in the video one has an ak47 and the other a shot gun) and health and can shoot the player, who now has health too. Also new is that when the player gets shot/the enemy gets shot, a neat particle effect...
8 tags
Vimeo: http://vimeo.com/24857477
Movement works!
So now I’ve got Basic Enemy Movement…Score.
Now I just have to make it more efficient in that if they can’t see the player, to move to the last seen position.
This will be hectic. That makes me smile.
5 tags
Vimeo: http://vimeo.com/24835421
(v.006)
So I began work on AI yesterday and finally got raycasting to work flawlessly this morning. It took a while but after figuring out Bresenham’s Line Algorithm I have made a fast, working, raycasting engine that can successfully text if an enemy can “see” the player. I’m going to work on optimizing the engine a bit and rewriting...
Vimeo Link (Higher Quality): http://vimeo.com/24750444
Current Changelog: -Added Item Pickup/Drop/Swap -Added crappy UI for demonstration purposes -Minor bugfixes Next Update: -Images for items (instead of the lame text) -Have “Fists” do damage
complex-concepts asked: From fellow Java programmer to Java programmer, do you think we could communicate elsewhere? Because I think we could really help each other and I think that I can really help you on your current Java project.
I kinda followed you because I found your blog interesting and plus, well, you program in Java.
I kinda followed you because I found your blog interesting and plus, well, you program in Java.
7 tags
Update v.004 is here!
Changelog:
-Added Custom Images/Fast Loading of Images (fixed this bug)
-Added 3 Types of Guns, Machine Gun (automatic), Shotgun(MultiBullet), and Pistol (semi automatic)
-Added Spikes that cause death/resetting of stage
I survived starscape and that was the most fun I’ve had in a long time…I’ll be back next year and highly recommend going. I think...
3 tags
Tried Loading Images.......uh-oh
So i started to load images into the tiles and it caused huge frame rate issues. I tinkered with the code for a bit….and well…this happened hahahaha.
I’ll work out the bugs tonight I hope.
So heres a quick demonstration of the features so far. I wont be able to do much work today cause im going to this: http://starscapefestival.com/
When I recover from 14 hours of partying I’ll get back to work on this, so sunday/mondayish.
Also this is probably the last time I use vimeo because I have to wait 30 minutes for them to upload my video…not cool.
sarcasticalways asked: Do you cross platform at all, or is it all pure Java code?
7 tags
Platform Shooter in Java (Day 2)
Busy day 2!
Heres the changelog:
- SET UP SVN FOR WORK WHEN I WORK WITH A PARTNER WHEN HIS COMPUTER GETS FIXED
-Implemented a “destructable” and “walkable” Tile class and moved files around to make it an array of Tiles. This way instructable enviroments will occur. ...
8 tags
Creation of a Platform Shooter Game in Java (Day 1) *Update #2* -Bullets!-
New Features: -Bullets! -Infrastructure for multiple gun types due to custom: -Bullet Speed -Bullet Spread -Number of Bullets Fired (ex. shotgun) -Reload speed -Dynamic loading and unloading of bullets when they come on and off screen to save memory usage
5 tags
Creation of a Platform Shooter Game in Java (Day 1) *Update* -Two New Features Added!-
New Features:
-press shift to slow down time
- “gun” rotates around the player with the movement of the mouse
7 tags
Creation of a Platform Shooter Game In Java (Day...
So Day 1 has gone by and I have a working tilebased platform game. I have some code tweaking to do but right now the controls are very responsive and the game runs fast. I don’t like how the levels are loaded (see image) and am going to fix it so that the game reads from a txt file later. Right now I want to get it to be able to shoot where the mouse is being pointed…away we go!
...