Colin McMillen
ae8fa0d21d
Revert "Add .gitignore and .gitattributes."
This reverts commit 5c9f574644
.
GitOrigin-RevId: 277054282d
4 years ago
Colin McMillen
cb1b78b875
Add .gitignore and .gitattributes.
GitOrigin-RevId: 5c9f574644
5 years ago
Colin McMillen
bbdc3c3053
SneakGame: remove History<GamePadState> & History<KeyboardState>.
GitOrigin-RevId: 1b8dfef93a
4 years ago
Colin McMillen
db6f3e1425
Add Input class to group gamepad & keyboard inputs together.
For motion directions (up/down & left/right), have them cancel each other out
if the player attempts to go in opposite directions at once.
Refactor Player & SneakGame to use the new Input class & remove direct access
to Keyboard & GamePad.
GitOrigin-RevId: 80fbed8874
4 years ago
Colin McMillen
cc37561076
run dos2unix on all source files
GitOrigin-RevId: c65ff59d86
4 years ago
Colin McMillen
660d163119
converted all TODOs into Issues
GitOrigin-RevId: aae80308b3
4 years ago
Colin McMillen
f0630d1679
go back to just a single RenderTarget
GitOrigin-RevId: 0b8fc30900
4 years ago
Colin McMillen
d75a469acc
Move JumpyGame -> SneakGame & fix references
GitOrigin-RevId: ec99138000
4 years ago
Colin McMillen
096f577e61
change namespace to SemiColinGames
GitOrigin-RevId: 3c4e116e77
4 years ago
Colin McMillen
569a330e89
move Jumpy.Shared -> Shared directory
GitOrigin-RevId: 781f1fb42b
4 years ago
Colin McMillen
37e3a8baba
add keyboard controls for Player & toggling debug info
GitOrigin-RevId: 0ab5e52485
4 years ago
Colin McMillen
7ed88960a5
gate toasts behind Debug.Enabled, rearrange their position & color
GitOrigin-RevId: 4efcd95c30
4 years ago
Colin McMillen
010424f43f
anchor the background images at the top
GitOrigin-RevId: caa4dc0ec3
4 years ago
Colin McMillen
22db0ee696
basic scrolling world!
GitOrigin-RevId: 6c08535f1a
4 years ago
Colin McMillen
67e952d64f
only draw FPS when debug enabled
GitOrigin-RevId: 22783521cb
4 years ago
Colin McMillen
1c7e058cb9
rm spurious printout
GitOrigin-RevId: 46f378f289
4 years ago
Colin McMillen
6c5c7d4992
add Debug class for displaying rects on-screen
use it to display bounding boxes of player & obstacles
GitOrigin-RevId: 1354637c8a
5 years ago
Colin McMillen
9c8f8b70df
enumerate and show collision targets
GitOrigin-RevId: d8cb888e4e
5 years ago
Colin McMillen
fb2d0e8a6d
add World class & refactor other things appropriately
GitOrigin-RevId: 9e72fe9527
5 years ago
Colin McMillen
3af02981c4
add rock-y ground tiles
GitOrigin-RevId: fd490a5a2c
5 years ago
Colin McMillen
9ed2021039
add background layers
GitOrigin-RevId: 93a5c7e147
5 years ago
Colin McMillen
1fbcacecfc
add ground texture
GitOrigin-RevId: 2313a9c038
5 years ago
Colin McMillen
7fe248aecc
refactor uses of gamepad / keyboard history
GitOrigin-RevId: ee4d881cb0
5 years ago
Colin McMillen
307efa5f5b
use History for handling gamepad & keyboard state
GitOrigin-RevId: 87aa91b212
5 years ago
Colin McMillen
df6cee8df1
partial work toward keeping multiple render targets around for GIF encoding
GitOrigin-RevId: 8061896562
5 years ago
Colin McMillen
80b6e2ac5c
FpsCounter now returns an int (rounded up)
rename gameTime -> time in Player
GitOrigin-RevId: 0270c026e6
5 years ago
Colin McMillen
523d1b519d
add resolution to FPS display
GitOrigin-RevId: c414668d05
5 years ago
Colin McMillen
568bcf8071
add FPS counter
GitOrigin-RevId: 7186a6f3cd
5 years ago
Colin McMillen
c247b6c389
Add Consolas as sprite font
GitOrigin-RevId: e30c036fa1
5 years ago
Colin McMillen
83709e9a61
pull out world viewport size into a Camera class
GitOrigin-RevId: 92cd946afe
5 years ago
Colin McMillen
05a779e1fb
draw to a RenderTarget & scale that to screen
GitOrigin-RevId: b4635c5fab
5 years ago
Colin McMillen
fdd0eb60c4
basic Player motions and poses
GitOrigin-RevId: 88a4e7a208
5 years ago
Colin McMillen
cb2f9687fa
fix build
GitOrigin-RevId: 76185e284b
5 years ago
Colin McMillen
6bb646e2ce
support xbox deploy
GitOrigin-RevId: c8a9a06bf9
5 years ago
Colin McMillen
fb50667459
add player sprite with looping animation
GitOrigin-RevId: 2e77393290
5 years ago
Colin McMillen
3f603d6bd3
add Android app skeleton
GitOrigin-RevId: 35018deaba
5 years ago
Colin McMillen
f6d1cac42f
rename IWindow -> IDisplay & refactor uses
GitOrigin-RevId: 9cb63778de
5 years ago
Colin McMillen
92f4558c18
add Initialize() to IWindow & refactor uses of IWindow
GitOrigin-RevId: fa4c2f04d3
5 years ago
Colin McMillen
bb5aab6495
set mouse visible; smol refactor
GitOrigin-RevId: b6a557f79b
5 years ago
Colin McMillen
a33c4d90fd
Make IWindow interface & make fullscreen work in UWP & OpenGL.
GitOrigin-RevId: 17e3e11548
5 years ago
Colin McMillen
149ecf8075
Basic working skeleton in OpenGL and UWP.
GitOrigin-RevId: 762b683654
5 years ago