Skip to main content

News

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Eggbertx

1
Engine Development / Re: miniSphere 5.0.1
I've been busy with IRL things so I haven't gotten a chance to work on it yet, but I was thinking about how I'm going to implement a mobile specific API, and I wanted to get your opinion on it before I start. Hopefully it will be compatible with both Android and iOS, but I don't have a macOS computer and don't feel like jumping through hoops.

Code: [Select]
`MobileDevice` Object
----------------------

MobileDevice.Default [read-only]

 Gets the device running miniSphere. This will likely only exist on mobile builds

MobileDevice.Platform [read-only]

 Can be 'android' or 'ios'

MobileDevice#activateTiltSensor()

 Activates the device's tilt sensor. If it is not activated, calling
 MobileDevice#getTilt() will return null

MobileDevice#deactivateTiltSensor()

 Deactivates the device's tilt sensor

MobileDevice#getTilt()

 Returns an object with x, y, and z float values representing the device's angle

MobileDevice#activateAccelerometer()

 Activates the device's accelerometer. If it is not activated, calling
 MobileDevice#getAcceleration() will return null

MobileDevice#deactivateAccelerometer()

 Deactivates the device's accelerometer

MobileDevice#getAcceleration()

 Returns an object with x, y, and z float values representing the device's
 current acceleration

MobileDevice#deactivateAllSensors()

 Deactivates all currently activated sensors

MobileDevice#getTouchCoordinates()

 Returns an array of objects with x and y coordinates for the current number
 of touches. If the screen isn't being touched, it will return a 0-length array.

Thoughts?
2
That must be the prequel.
3
A game that took 4-5 hours to make wins the prestigious status of GOTY? Woo!
4
Game Development / robotfindskitten, back from the dead
A long while ago, before miniSphere, and before the death and rebirth of the forums, I created a port of the game/zen simulation robotfindskitten, but my laptop died, destroying all of my old stuff. Since my original version wasn't very good anyway, I decided to recreate it, using miniSphere's API.

In this game you are robot (#). Your job is to find kitten. This task is complicated by the existence of various things which are not kitten. Robot must touch items to determine if they are kitten or not. The game ends when robotfindskitten.



5
Engine Development / Re: miniSphere 5.0.1
Alright, that's good (for me at least). I wasn't sure if it was something I was doing wrong, because I'm rewriting my old robotfindskitten port, and I was worried that it might be bogging it down.
6
Engine Development / Re: miniSphere 5.0.1
I'm not sure if it's something I'm doing wrong, but calling Sphere.restart() seems to cause a massive slowdown
7
Isn't there a distinction between 2D and 3D acceleration? Or does miniSphere handle both?
8
I'm still wrapping my head around how to manage polygons and reducing the rendering load by not rendering invisible polys.
I don't remember what it was called, but I know John Carmack (former lead programmer at id Software who pioneered 3D graphics on the IBM PCs and PC clones) wrote an algorithm for handling that kind of thing. I think it was first implemented with the Doom engine.
9
Engine Development / Re: miniSphere 5.0.1
I ran into the Exit() bug the other day, so I'm glad to see that's fixed.
10
Engine Development / Re: miniSphere 5.0.0
Nope, no issues.
11
Engine Development / Re: miniSphere 5.0.0
The AUR package has been updated to the latest upsteam version. And the main Allegro package finally works nicely, so minisphere's AUR package doesn't have to depend on an unofficial package.
12
Engine Development / Re: miniSphere 5.0rc
Do you think it's safe enough for the AUR?
13
I lost most of my old Sphere games and resources when my laptop died (milk +laptop + seizure = spilled milk and a dead laptop), but I remember someone created a rudimentary 3D test game that rendered some cubes with textures from Minecraft, and you could move around the camera.
14
Alright, that's fine. Arch is known for being "bleeding edge", but I don't want to push something that isn't stable yet.
15
Welcome to the community! While miniSphere does have some 3D functionality, there isn't really enough of it to create a fully functional game without a lot of effort on the developer's part, but if you just want to create 2D (or predominantly 2D) games, it's a great engine and it's cross-platform too, more so than 1.x.