Skip to content

u/Octopuns

In this archive from Jun 2012 to Oct 2024

56
posts
11
comments
173
media
44k
score
1 saved before deletion

Top posts

Top comments

All entities in the game world can respond to a set of inputs that cause certain outputs.

For example, if the user hits the jump key, the player controlled character will jump. Likewise, if an AI controlled rabbit "senses" danger - the rabbit will jump.

In both those cases, the input is different (jump key or sensing danger) but the output is similar. (Player jumps or rabbit jumps).

A player character is really just an AI agent controlled by gamepad/keyboard+mouse input.

If you build your two characters both as "AI", then there is nothing stopping you from taking the inputs that are usually for the player and sending them to the rabbit or vice versa. (When the user hits the jump key, send that information to the rabbit instead).

This game programming pattern describes this concept: http://gameprogrammingpatterns.com/command.html

It might be overkill for your purposes but I'd definitely recommend a read.

2 points

It took me way too long to actually see the menu options in the bottom right. It might be because they took a while to appear - or the sliders in the center and the pattern of the fan are drawing my attention too much.

Other than that (and the comments about speed from other people), I think it looks great.

1 points

Yes! I was going to recommend Twine as well! Build a text-based adventure in the LOTR theme (if he likes the books, you could try to style your language like that as well)!

You could even use Google Maps to plan out a path through his local area if you won't be with him on the day.

A simple loop could be:

- Message him in the morning with a link to a twine setting up the story and giving him the first riddle that leads to a particular place near him. As part of the Twine, add an in-theme request to send a photo of a certain thing / place as part of the solution.

- Once he goes to the location, link him to another twine with the next riddle & repeat.

- Each twine could also include part of an overarching puzzle that leads to the final location (eg. have each twine include a letter, or part of a gps co-ordinate that he needs to remember / write down for the final riddle).

You can have some fun with it, by:

- Speaking in character whenever you talk to him and link him to the Twines

- Link him to things that aren't a twine to keep it varied. One riddle could just be a map you hand draw with X marks the spot. No twine needed, just send him the photo. Send him a song that mentions a particular location you know is near him - or has special significance to you and have him 'decode' the meaning of the song to find the location. Send him a voice recording of a riddle. Generate a QR code with one of the online QR code generators that when he scans will give him the gps co-ordinates he requires.

- Have him 'treat himself' to certain things he likes by having quests where the answers require him to send a photo of something / somewhere he enjoys.

There's lots of things that you could do that don't require you to learn how to code - and instead can focus on the actual 'game' parts.

1 points

Subreddits

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.