e65c2341c2
Draw a test character to start experimenting.
2016-11-09 01:46:10 +01:00
4c105fc3df
Don't move the viewport if it would generate gaps in the map.
...
In other words, don't let the player see past the end of the world.
2016-11-08 20:34:04 +01:00
5d231206ef
Fix rect clipping
2016-11-08 20:15:19 +01:00
89ac57eee7
Don't crash when going past the bottom/right border.
2016-11-07 22:31:52 +01:00
20f8e75937
Use boost spirit to load csv files.
...
Allow loading of multiple csv files. Iterating on tiles now returns
a list of tiles, in back-to-front order.
Add a nicer tileset (although it's non-free and needs permission from
its author, need to get in touch in due time).
2016-11-07 22:02:46 +01:00
1313dad568
Allow moving past the top-left edge of the world.
2016-11-04 20:31:41 +01:00
d7868800d4
Temporary code to load a csv tilemap from Tiled.
2016-11-04 20:31:17 +01:00
087e1cd8b1
Make the viewport able to return the tile of a given index.
2016-10-31 01:36:30 +01:00
458ec6bcce
Make m_index uint16 again and replace magic -1 number.
2016-10-30 23:41:14 +01:00
5da4cef4a5
Move clipping and drawing to base class and fix int<->float warnings.
2016-10-30 23:30:32 +01:00
c8920ea997
Implementation of vector_cast that works with vwr::Vec.
2016-10-28 22:20:23 +02:00
629a3d9e08
Add movingobject
2016-10-28 21:06:19 +02:00
f1467d7d99
Use pimpl to hide properties used by the gameplay scene.
2016-10-28 01:45:45 +02:00
33c18680d6
Make scrolling speed depend on frame duration.
2016-10-28 01:31:34 +02:00
7e8657b9d8
Allow viewport to move past the top-left edge of the map.
2016-10-27 10:29:37 +02:00
86bf492507
Allow navigating with the keyboard arrows.
2016-10-27 02:05:26 +02:00
a70c97a569
Fix input update.
2016-10-27 02:05:05 +02:00
b8840045a5
Load and display actual tiles
2016-10-27 00:06:59 +02:00
b5a6b9f9bc
Quick dirty implementation of a world grid+viewport+iterator.
...
This commit makes the program quit immediately.
Prints debug info about iterator.
Incomplete, no actual tile being iterated.
2016-10-26 02:24:59 +02:00
92a1069324
Show window and allow user to close it to quit.
2016-10-26 01:20:01 +02:00
6afa1a4cd4
Make virtual methods protected.
2016-10-26 00:50:14 +02:00
482a13ea47
Import DeathHandler.
2016-10-25 01:28:05 +02:00
865efc3eb4
Update VectorWrapper
2016-10-25 01:24:23 +02:00
95499e3d77
First commit
2016-10-24 00:48:30 +02:00