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 - 🐰 goodies 🐰

Pages: « 1 2 3 4 5 6 7 8 9 10 »
121
Cute Discussion / Re: sbw2
« on: April 16, 2016, 06:41:09 PM »
yeah its neat..... so right now im trying to minimize one of my classes Entity and it has kind of a bunch of crap that doesnt always get used. entity is basically my equivalent of a game maker object. position, speed, image related stuff, alarms, theres also a hash set of tags for things like collision. but nine times out of ten at least some aspect of this goes unused, and when i feel like i will be wasting resources, i climb the ladder and extend EntityBase (the parent for oddwarg and i's own entity classes) but ultimately this means i have to fill out a bunch of methods. so im making MinEntity which has position, collision support, and alarms.
Okay, so not-working weekend brain here, also I don't program vidjas, and am not really thinking outside the box in regards to all of your requirements.

Objects should represent a single "thing", and should provide all of the behaviours for that; an object that does everything generally leads to how you feel, that it is a bit of a dumping ground. Try making objects around more narrow concepts (you could have a position object that carries the position and provides methods for common transforms and the like). As for the composite entities, you could have a hierarchy of more and more complex entities each provided a more specialised aspect. For instance, a simple entity that doesn't move would just have a position set on construct and no methods to provide any ability to mutate position. You can build on that with a movable entity blahblah. If the specialisation of your entities is also in logic rather than data, you can use interfaces too to add behaviours to entities, again you could have movable with means all of your entities that implement it should be movable in some way. Default methods are new too, which allows you to provide logic in these interfaces: https://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html

I wouldn't worry about things like this from a performance standpoint. Having a few arbitrary fields isn't going to make any noticeable impact on performance*.

As for event scheduling, I would avoid solving the problem yourself, since it is one that has probably already been solved. Are you using any kind of game framework? This should provide the means to do this out of the box.

* Unless you are making many thousands and/or each field has to do a lot of work to initialise, or contains a LOT of data

122
Cute Discussion / Re: sbw2
« on: April 16, 2016, 05:03:32 PM »
this just in.... lambda functions are cute as f*ck!!!!!!! :watermelon:
It was my favourite feature until I really got to grips with functional list processing

sogood

123
Cute Discussion / Re: good music
« on: April 07, 2016, 09:33:04 PM »
Quite liked Mount the Air.
I went into my happy place when I first listened to it

124
Cute Discussion / Re: good music
« on: April 06, 2016, 06:42:58 PM »

125
Cute Discussion / Re: good music
« on: April 06, 2016, 06:41:20 PM »
Aaa utubs what are you and your 240p doing to the sweet melodies

126
Cute Discussion / Re: good music
« on: April 06, 2016, 06:38:18 PM »

127
Cute Discussion / Re: Year of the Linux Desktop?
« on: March 31, 2016, 09:11:04 PM »
Windows 10 already added some nice productivity features, this means potential for much more consistent dev environments across the board. I already spent too much on a MacBook to rationalise switching over to Windows 10 for development tho :c

128
Cute Discussion / Re: Cutey Zone Recommends
« on: March 23, 2016, 10:29:43 PM »
I was thinking the PlayStation Oculus Vive.

But nah, they're $1K+ in Canada.  As hyped as I am for VR I can't justify it.  Will probably wait for gen 2.
That or when this gen drop in price dramatically

129
Cute Discussion / Re: Post-No Posting Week Discussion
« on: March 07, 2016, 11:26:34 PM »
I like popping in and out on occasion cos you are all nice and stuff and I don't really chat with people much online anymore cos I find online chat more intimidating than rl chat now for some reason so it is the only way I would actually stay in touch

130
Cute Discussion / Re: No Posting Week
« on: March 02, 2016, 11:53:07 PM »
that is my avatar i am not actually a corgi

131
Cute Discussion / Re: No Posting Week
« on: March 02, 2016, 10:47:20 PM »
Now I feel left out

132
Cute Discussion / Re: vidogääms 16: cute edition
« on: February 29, 2016, 08:09:13 PM »


"oh heck!" ~ conker the squirrel
Cool technology tho, what even :(

133
Cute Discussion / Re: No Posting Week
« on: February 29, 2016, 08:05:38 PM »
What were we talking about again?

134
Cute Discussion / Re: Welcome to SMF!
« on: February 19, 2016, 10:55:23 PM »
Has anyone ever played Five Nights at Freddy's?
Nope.

First saw it in a Jim Sterling review thing, thought it was a cute mechanic, then wondered where the rest of the game was.

The whole story thing was pretty cool tho

135
Cute Discussion / Re: Welcome to SMF!
« on: February 11, 2016, 09:20:32 PM »
I could make it purple at least, that is one saving grace

Pages: « 1 2 3 4 5 6 7 8 9 10 »