Search found 575 matches

by Yumtard
April 1st, 2018, 3:45 pm
Forum: Everything
Topic: ECS feedback
Replies: 3
Views: 1443

ECS feedback

Hey guys, I was bored this morning so I made an ecs (or rather the base for what could become an ecs) I tried doing this using a very different approach from when I did one in school. Would very much like to hear opinions. In school I made an ecs where I had a component interface which I derrived ot...
by Yumtard
March 16th, 2018, 8:50 am
Forum: Everything
Topic: Show me your games made with the Chili framework! (pls)
Replies: 6
Views: 2516

Re: Show me your games made with the Chili framework! (pls)

Welcome to the forum!

You could check out chilis update videos. He usually show off stuff that users made

https://www.youtube.com/watch?v=ayC_4PsSfZU

Here's one tha features my first game among ohters :)
by Yumtard
March 13th, 2018, 8:43 pm
Forum: Everything
Topic: Noob learns to code in 3 months
Replies: 670
Views: 206721

Re: Noob learns to code in 3 months

Some more cool settings for the particles https://streamable.com/gng23 Second game project is starting next week. I really like our idea, hope it will turn out good. We'll need quite a bit of unrealistic physics. Wrote a quick and dirty test for parts of it today just to get a sense if it's doable. ...
by Yumtard
March 13th, 2018, 8:39 pm
Forum: Everything
Topic: Noob learns to code in 3 months
Replies: 670
Views: 206721

Re: Noob learns to code in 3 months

Wow thanks albino! This was a great read. Glad to see you managed to have some fun with the system and hope it gave you a nice little challenge since you were lacking those :) Do you mind telling me how you're doing the speed tests? I need to look into this SSE thingy. Will watch chilis videos on th...
by Yumtard
March 11th, 2018, 8:06 pm
Forum: Everything
Topic: Noob learns to code in 3 months
Replies: 670
Views: 206721

Re: Noob learns to code in 3 months

Thanks :)
If you do check it out I'd be happy to hear how I can improve performance :D

I tried to look into it and I think what costs the most is drawing the particles. If I increase the size of the particles the program slows down quite a bit
by Yumtard
March 11th, 2018, 11:27 am
Forum: Everything
Topic: Motivations
Replies: 10
Views: 3698

Re: Motivations

Couple things we've done in school lately. Maybe some of these are of interest - implementing an ECS and creating entities using flatbuffers - implement Lua in your program and script the gameplay code - Do a big cube filled with bouncing balls and do the collision checking using spatial partitionin...
by Yumtard
March 5th, 2018, 3:04 pm
Forum: Everything
Topic: Noob learns to code in 3 months
Replies: 670
Views: 206721

Re: Noob learns to code in 3 months

Very fun to play around with the variables. ParticleSystemData psData; psData.birthColor = Colors::Yellow; psData.deathColor = Colors::Red; psData.gravity = Vec2D(0.0f, -1.0f); psData.lifeTime = 2.0f; psData.maxVel = Vec2D(20.0f, 5.0f); psData.minVel = Vec2D(-20.0f, -60.0f); psData.position = Vec2D(...
by Yumtard
March 5th, 2018, 2:16 pm
Forum: Everything
Topic: Noob learns to code in 3 months
Replies: 670
Views: 206721

Re: Noob learns to code in 3 months

Hey guys! I'm still alive. Haven't played around in the chili framework in quite some time but felt the itch this morning. Made a 2d particle system. I've never done something similar before and just started coding, so I'm sure there's tons of stuff to improve upon. If anyone wants to play around wi...
by Yumtard
January 24th, 2018, 9:48 pm
Forum: Everything
Topic: bitwise and operator
Replies: 19
Views: 7688

Re: bitwise and operator

I wouldn't say for even numbers it's the number 0110 = 6 0000 & 0110 = 0 0001 & 0110 = 0 0010 & 0110 = 2 0011 & 0110 = 2 0100 & 0110 = 4 0101 & 0110 = 4 0110 & 0110 = 6 0111 & 0110 = 6 1000 & 0110 = 0 1010 = 10 0000 & 1010 = 0 -------- 0 & 10 0001 & 1010 = 0 -------- 1 & 10 0010 & 1010 = 2 --------...
by Yumtard
January 24th, 2018, 12:15 pm
Forum: Everything
Topic: bitwise and operator
Replies: 19
Views: 7688

Re: bitwise and operator

cyboryxmen wrote:Remember that if statements are true for any non zero value. If one or more bits were 1s, they would all return true
oh that makes sense. so the patterns for i & 3 would be

false
true
true
true

and repeat


and for even numbers it's basically
i & 2 = two each
i & 4 = 4 each
and so on