Skip to content

u/markand67

In this archive from Oct 2016 to May 2026

10
posts
240
comments
1
media
832
score

animate things using timers?

Hi I was thinking what are the most convenient and elegant ways to animate lots of properties like sprite position, color pulse, time tracking and so on. For a decade I've always written code like: void update(float dt) { my_anim.update(dt); my_color.update(dt); } It's easy but annoying as each time...

3 points2 comments
Open on Reddit

Design special ennemies movements

Hi, I'm creating a basic 2D platform game. While collisions are easy to implement, I'm thinking how games usually implement per type of ennemies movements. For example, in most Mario games, there are some kind of Koopas which move on their platforms and go back-and-forth if there are no more edge (t...

0 points2 comments
Open on Reddit

Doing resolutions correctly

Hello, I'm searching lot of articles to see how to write a game with different resolutions in mind. It's a 2D game so basically it will consist of simple images, fonts and basic shapes. My questions: How do yo know which size you will need when creating your image assets? My naive thought is to draw...

2 points3 comments
Open on Reddit

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.