Wednesday, March 11, 2015

Focus

I'm trying to remake this: http://www.youtube.com/watch?v=cNkiVTTVtGI


 in my engine:


Took some time to get motivated again to deal with all the bugs, missing engine features and physics that don't want to work the way I want.

Thursday, March 5, 2015

Sensors

I updated my sensor class (based on Box2D sensors) that keeps track of all the bodies(or fixtures) that are colliding with it. I can override its update method to do stuff with the bodies inside it. I'm using it as a player feet sensor, line of sight, dynamic light and as shown here to apply a force/impulse.



Tuesday, February 24, 2015

Particle emitters 2

Kame hame ha !



In other words, added weapon fire delay. This was the machine gun.

Btw, Dragon Ball is better than Dragon Ball Z.

Sunday, February 1, 2015

Particle emitters

I worked a bit on particle editor and emitters. Changed the way they are added to the map, being updated, etc. There are lot of variables, so it's very time consuming.





Saturday, December 20, 2014

2D ragdoll physics using Box2D

This video contains five scenes showing 2D ragdoll physics and some other fun stuff that can be made using Box2D and my editor. The engine is written in C++ and is based on SDL2 and OpenGL.





Here are some features that can be seen in this video:

- skeleton flipping/scaling, joint limits
- custom gravity for maps, mouse joint
- skeleton animation to ragdoll transition
- player controlled vehicles (event-action)
- removing bodies and joints in realtime - railgun
- adding joints in realtime - stakegun



Big thanks to thecplusplusguy and iforce2d for their tutorials. Without those I probably wouldn't even start working on this:
http://www.youtube.com/watch?v=QEzcr7AfZ0o
http://www.iforce2d.net/b2dtut/

You can download and try it out. There are some rendering glitches that can appear, I don't know what is causing those.
MD5:0ABEE9443CB08D1F30128B400070AC44

Saturday, December 6, 2014

Map editor preview

I had to make a map for another video, so I decided to record it and upload a time-lapse. I thought it will go faster, but it took me over an hour. This is the first time I used the new editor to actually make a map. It's great that I managed to work on a map for that long without any crashes.




This video shows only the basic features:
- multiple layers
- adding sprites
- changing textures
- scaling and resizing (vertex and line based)
- rotating
- delete, copy, cut, paste single or multiple sprites using a selection box
- paste preview
- moving sprites in front or behind each other
- moving sprites to a different layer
- parallax scrolling
- basic Box2D bodies

I have uploaded it as Public Build 1 and updated the manual. You can download it here:



Tuesday, November 25, 2014

Quake 2D secrets, cheats and source code

I am releasing the source code of my 2012 Quake 2D demo to public. You can download the code on my GitHub page. For more details about this project you can check out the dedicated page on the left of this blog.


I have also uploaded a video that shows in game secrets, cheats and different player models. It was also recorder in 60 FPS in HD since now my PC can handle it. In short you'll be seein flying Luigi blowing up Quake 2 enemies using Serious Sam weapons in bullet time. GOTY 2012 right there.


Saturday, November 8, 2014

Random Thoughts #1

Few days ago I finally got my new PC up and running, now with a brand new Antec power supply and a new Dell P2414H monitor. I still have to get used to certain things:
- How quiet the PC is. Event though there are total of 7 fans inside the loudest thing is the hard drive. Sometimes I'm not sure I have turned it on/off or not.
- How nice the text looks on this new monitor and how nice the contrast is. I wasn't even aware how bad my old monitor really was. Some internet sites look completely different now.

Haven't spent much time playing video games with the new PC, but everything looks crisp on 1080p. Really a huge difference. I can't imagine how games would look like on a 27"/30" screen on 1440p or 4K. Maybe in few years I will get there...

***

With the new PC rebuilding the engine and game takes around 1 and a half minute, while on the old one it took around 4 minutes. Sometimes I would forget what I was doing while waiting.

While I was waiting for my power supply to be replaced I did a lot of cleaning up. I fixed many bugs and editors seem to be crash free now, so I can finally try to make something to show the engine engine updates.