Author Topic: [UPDATED] Tutorial: Getting Started With Fangame Development  (Read 53468 times)

L4Vo5

  • Cherry Eater
  • Posts: 59
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 50.0.2661.102 Chrome 50.0.2661.102
    • View Profile
  • Playstyle: Keyboard
Re: [UPDATED] Tutorial: Getting Started With Fangame Development
« Reply #60 on: May 31, 2016, 06:25:50 PM »
Something i'd like to point out about the new version:

About the wobble effect: You can replace sin and cos by lengthdir_x and lengthdir_y. These functions are included in gamemaker and allow you to use degrees instead of radians, if you prefer. It also does the multiplication by the speed (or wobble_distance in this case) inside the function
About performance: you should advice that once you've finished the game, divisions should be replaced by multiplications when possible, to make the game a tiny bit faster. And if you're dividing by room_speed and all rooms have the same room_speed, you can treat it like that constant value.
I have to admit, i still haven't beaten IWBTG

Denferok

  • Community Manager
  • The Kid
  • Administrator
  • Posts: 355
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 50.0.2661.102 Chrome 50.0.2661.102
    • View Profile
    • My stream
  • Playstyle: Keyboard
Re: [UPDATED] Tutorial: Getting Started With Fangame Development
« Reply #61 on: May 31, 2016, 06:59:51 PM »
If you change the max-width: 1024px; to width: 60% and add this code at the bottom of the css file it'll work for mobile aswell and be scalable for larger / smaller monitors

Code: [Select]
@media(max-width: 768px){
  body{
    width: 100%;
  }
}

aytoms29

  • Cherry Eater
  • Posts: 54
  • here come dat boi
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 50.0.2661.102 Chrome 50.0.2661.102
    • View Profile
    • My Steam Profile
  • Playstyle: Keyboard
Re: [UPDATED] Tutorial: Getting Started With Fangame Development
« Reply #62 on: May 31, 2016, 09:32:54 PM »
This is some good stuff!

Good job
beans are good son

klazen108

  • Administrator
  • The Kid
  • Posts: 286
  • your a kid now your a squid now
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 50.0.2661.102 Chrome 50.0.2661.102
    • View Profile
    • Delicious-Fruit
  • Playstyle: Keyboard
Re: [UPDATED] Tutorial: Getting Started With Fangame Development
« Reply #63 on: June 01, 2016, 12:11:17 AM »
That's a pretty neat CSS feature, Den! I've added that to the stylesheet, hopefully that makes it a bit easier to read. And thanks for the tips Lavos, those are certainly some concepts I'd be interested in going into detail with.

I've also updated the tutorial to include a section on Hit Points, both for the enemy and for the kid. That'll probably be the last of the additions for a bit, I need to get to work on setting up for the marathon!

Kyir

  • The Kid
  • Posts: 293
  • Normal Guy
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 50.0.2661.102 Chrome 50.0.2661.102
    • View Profile
  • Playstyle: Keyboard
Re: [UPDATED] Tutorial: Getting Started With Fangame Development
« Reply #64 on: June 02, 2016, 03:49:59 PM »
Looking good so far! I'm going to have to start fiddling with shaders next time I have time to work on games again.

aytoms29

  • Cherry Eater
  • Posts: 54
  • here come dat boi
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 51.0.2704.103 Chrome 51.0.2704.103
    • View Profile
    • My Steam Profile
  • Playstyle: Keyboard
Re: [UPDATED] Tutorial: Getting Started With Fangame Development
« Reply #65 on: June 30, 2016, 10:12:35 PM »
Fancy dancy
beans are good son

infern0man1

  • ~(=^・ω・^)ψ
  • Global Moderator
  • Oatmeal Killer
  • Posts: 1.021
  • Dear sir stroke madam, fire exclamation point
  • OS:
  • Unknown Unknown
  • Browser:
  • Chrome 51.0.2704.103 Chrome 51.0.2704.103
    • View Profile
    • Twitter
  • Playstyle: Keyboard
Re: [UPDATED] Tutorial: Getting Started With Fangame Development
« Reply #66 on: June 30, 2016, 10:34:07 PM »
No necroposting a topic with a shit-post like that; warned.