Search found 575 matches

by Yumtard
June 5th, 2018, 4:19 pm
Forum: Everything
Topic: Noob learns to code in 3 months
Replies: 670
Views: 198921

Re: Noob learns to code in 3 months

Thanks chili :)

Yeah it's been fun. Porting it to ps4 is no fun tho :P
by Yumtard
May 27th, 2018, 1:51 pm
Forum: Everything
Topic: snake game for beginners
Replies: 2
Views: 1410

Re: snake game for beginners

dont remember the tutorial but i assume dimension 20 means the cells are 20x20 pixels. height and width 10 means the board is 10 cells wide and 10 cells high. so 10x20 pixels wide and high
by Yumtard
May 23rd, 2018, 8:27 pm
Forum: Everything
Topic: Noob learns to code in 3 months
Replies: 670
Views: 198921

Re: Noob learns to code in 3 months

It's swedish and english. The teachers will do lectures in english if we ask them to. there's a few english speaking students in our class. In my group there's one english speaker so we do all our meetings etc in english. But most of the time we speak swedish to each other unless there's an english ...
by Yumtard
May 23rd, 2018, 3:11 pm
Forum: Everything
Topic: Noob learns to code in 3 months
Replies: 670
Views: 198921

Re: Noob learns to code in 3 months

Trailer for the game we're working on

https://www.youtube.com/watch?v=wL6zbFVHheQ
by Yumtard
May 21st, 2018, 11:12 pm
Forum: Everything
Topic: Key press release
Replies: 11
Views: 4254

Re: Key press release

Code: Select all

 while( !wnd.kbd.KeyIsEmpty() )
 {
  	const Keyboard::Event e = wnd.kbd.ReadKey();
  	if( e.IsPress() )
 	{
 		if( e.GetCode() == VK_SPACE )
 		{
 			// code
 		}
 	}
}
by Yumtard
May 19th, 2018, 2:40 pm
Forum: Everything
Topic: Noob learns to code in 3 months
Replies: 670
Views: 198921

Re: Noob learns to code in 3 months

Presentation of our second game project went reallly well. It seemed well received by the audience and we won a prize for pitch of the year.
Working on this project for 9 weeks has been an absolute blast and the group has been awesome.
It's highly likely we'll continue development over the summer
by Yumtard
May 14th, 2018, 9:24 pm
Forum: Everything
Topic: #define, am I doing it right?
Replies: 1
Views: 1169

#define, am I doing it right?

#define no_parameters_at_all () #define the_place_where_my_heart_used_to_be void #define opening_curly_brace { #define closing_curly_brace } #define two_arrows_pointing_to_the_left << #define nuff_said ; #define double_colon :: #define sexually_transmitted_disease std #define print_the_following co...
by Yumtard
May 6th, 2018, 8:23 pm
Forum: Everything
Topic: Lesson 8 need help
Replies: 3
Views: 1703

Re: Lesson 8 need help

You should post some code. It's hard to debug with no code.
by Yumtard
April 21st, 2018, 6:05 pm
Forum: Everything
Topic: Snek function and the brd object
Replies: 1
Views: 1252

Re: Snek function and the brd object

The segments know their locations. Snake::Draw basically just calls Segment::Draw which calls Board::DrawSegment. To be able to call Board::DrawSegment from segment, the segments draw function need to get a reference to the board class. When calling Board::DrawSegment you're passing the segments loc...
by Yumtard
April 12th, 2018, 11:39 pm
Forum: Everything
Topic: ECS feedback
Replies: 3
Views: 1428

Re: ECS feedback

Sorry for late response! Wrote this code kinda quickly and after posting here this little "project" was put on ice due to me being swamped with our game project. Thanks for your input will look into a better way of doing systems once this game project is done :) Like I mentioned the components are p...