npub1rg…sc7mc on Nostr: I found the problem with the segfaults. I was already using the arrow keys for ...
I found the problem with the segfaults. I was already using the arrow keys for changing the facing direction of a select object and I forgot to make the current object pointer null by default. I'm probably going to stick to WASD for camera movement though.
#gamedev #SFML
Published at
2023-11-29 20:35:02Event JSON
{
"id": "a3e8930286a132d1d18aeb0c767191c162b849156c4c85bb3c474b429cab695c",
"pubkey": "1a3612d7fbcd29ffe08be75e00445b7b5dff1a03d8a3b33213be2c36c08e6a18",
"created_at": 1701290102,
"kind": 1,
"tags": [
[
"e",
"1ebe48d834396f94f979b1523baf906bbb932ea68236c49b5d578e61c9601042",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"gamedev"
],
[
"t",
"sfml"
],
[
"content-warning",
"gamedev"
],
[
"proxy",
"https://gameliberty.club/users/xianc78/statuses/111495748156928711",
"activitypub"
]
],
"content": "I found the problem with the segfaults. I was already using the arrow keys for changing the facing direction of a select object and I forgot to make the current object pointer null by default. I'm probably going to stick to WASD for camera movement though.\n\n#gamedev #SFML",
"sig": "fb7b86edb172d9727142ba96246f0e5cbd441832489c6366823b8d7eafebbf066e061369312992cd0b2154b1e1712341887367f7b5b8b24322ee89060cb2fd0f"
}