SamSpadeGameDev
SamSpadeGameDev
  • 169
  • 664 323
Using ChatGPT-4 to Make a Game with GameMaker
I used ChatGPT, GPT-4, and Bing, to make a simple fishing game in GameMaker.
Patreon Support
www.patreon.com/samspadegamedev
Outline
0:00 The Challenge
0:18 GPT-4 Outline
0:49 Making the Game
2:58 A Big Problem
3:36 Human Error
4:10 Finishing the Game
4:40 Using Microsoft Edge and Bing?
5:28 Can AI Make Your Game?
#gamemaker
#gpt
#ai
Art: Free Fishing Pixel Art Pack
free-game-assets.itch.io/free-fishing-pixel-art-pack
Music: Beach by Komiku
freemusicarchive.org/music/Komiku/Captain_Glouglous_Incredible_Week_Soundtrack/plage
Переглядів: 9 494

Відео

A Useful GameMaker Function
Переглядів 3,6 тис.Рік тому
A function that lets you take one number and convert it from one range to another range. GMC Forum forum.gamemaker.io/index.php?threads/map_value-remap-values-from-one-range-to-another.59699/ Function pastebin.com/HbbfTYS6 Patreon Support www.patreon.com/samspadegamedev Outline 0:00 A Cool Function You Should Use 0:17 Explanation 1:26 Code Examples 2:43 Where to Get It #gamemaker #gamedev #tuto...
A Beginner's Guide to GameMaker's Core Building Blocks
Переглядів 2,9 тис.Рік тому
An overview of seven essential assets in GameMaker Patreon Support www.patreon.com/samspadegamedev Outline 0:00 Making your Game 0:31 The Big Three 0:45 Rooms 1:45 Objects 3:33 Sprites 4:20 Audio 4:51 Fonts 5:16 Sequences 5:49 Scripts Get Shooty Shooty Dodge Dodge here: play.google.com/store/apps/details?id=com.threecatlife.shootyshootydodgedodge #gamemaker #gamedev #tutorial
You Should Use Source Control
Переглядів 6 тис.2 роки тому
A short, dramatic example for why you should use source control (such as git or github) with GameMaker. Get Shooty Shooty Dodge Dodge here: play.google.com/store/apps/details?id=com.threecatlife.shootyshootydodgedodge Patreon Support www.patreon.com/samspadegamedev Outline 0:00 Deleting my game 1:21 Other Benefits of Source Control 2:07 Reverting to an Earlier Version #gamemaker #git #github
Shooty Shooty Dodge Dodge Trailer
Переглядів 7032 роки тому
I made a completely free game in GameMaker which you can get here: play.google.com/store/apps/details?id=com.threecatlife.shootyshootydodgedodge. #gamemaker #madewithgamemaker #gamedev Google Play and the Google Play logo are trademarks of Google LLC. Font used: The FontStruction “BIGMACCA”
Using Sequences to Make Complex Objects in GameMaker Studio 2
Переглядів 7 тис.2 роки тому
A tutorial on how (and why) to use sequences and objects to make complex systems in GameMaker. Patreon Support www.patreon.com/samspadegamedev GMC Forum Post: forum.yoyogames.com/index.php?threads/get-instance-id-of-an-instance-created-by-a-sequence.93911/ Outline 0:00 What am I Doing 0:25 Why it's Useful 1:18 How it Works 1:39 Big Ship Code 2:39 Turret Sequence and Code 3:45 Using Instance Cha...
I Tried to Make and Release a Game in One Week (Devlog)
Переглядів 2,1 тис.2 роки тому
A devlog for a personal challenge to make and release a commercial game in one week using GameMaker Studio 2. Patreon Support www.patreon.com/samspadegamedev Videos Referenced Simple Virtual Keys in GameMaker Studio 2: ua-cam.com/video/1z9PRteaWXs/v-deo.html How I Do It: Smart Clickable GUI: ua-cam.com/video/RbBgE3cUShc/v-deo.html @PixelatedPope Little Town 3D Audio: ua-cam.com/video/sRNiAMc1Cq...
New and Improved Features for Filters and Effects in GameMaker Studio 2
Переглядів 5 тис.3 роки тому
Learn about the new functions and features GameMaker just added for Filters and Effects, such as the ability to apply a filter to a single layer. Patreon Support www.patreon.com/samspadegamedev Source Code github.com/samspadegamedev/UA-cam-Filters-Demo Resources Runtime Notes: gms.yoyogames.com/release-notes-runtime.html Release Notes: gms.yoyogames.com/ReleaseNotes.html Release Blog: www.yoyog...
How to use Filters in GameMaker Studio 2
Переглядів 10 тис.3 роки тому
Learn how to use Filters and Effects to make a lot of great visual effects much, much easier to do. Patreon Support www.patreon.com/samspadegamedev Filters and Effects Playlist ua-cam.com/play/PLwgH1hDD0q1GdWz2aB263CoT8vZ8RO6U9.html Source Code github.com/samspadegamedev/UA-cam-Filters-Demo Resources www.yoyogames.com/en/blog/filters-effects-tech forum.yoyogames.com/index.php?threads/gamemaker-...
Optimizing Steering Behaviors for GameMaker Studio 2
Переглядів 4,8 тис.3 роки тому
Learn how to optimize the steering behaviors we've been working on. This tutorial builds off of the previous videos on Vectors and Steering Behaviors in GameMaker Studio 2 series. Steering behaviors were invented by Craig Reynolds and you can read his original paper for free here: www.researchgate.net/publication/2495826_Steering_Behaviors_For_Autonomous_Characters Patreon Support www.patreon.c...
Flocking Steering Behavior in GameMaker Studio 2
Переглядів 4,7 тис.3 роки тому
Learn how to code the align, cohesion, and separation steering behaviors and combine them to create the flocking behavior. This tutorial builds off of the previous videos on Vectors and Steering Behaviors in GameMaker Studio 2 series. Steering behaviors were invented by Craig Reynolds and you can read his original paper for free here: www.researchgate.net/publication/2495826_Steering_Behaviors_...
Wander and Combining Steering Behaviors in GameMaker Studio 2
Переглядів 4,2 тис.3 роки тому
Learn how to code the wander steering behavior and combine steering behaviors together to create complex results. This tutorial builds off of the previous videos on Vectors and Steering Behaviors in GameMaker Studio 2 series. Steering behaviors were invented by Craig Reynolds and you can read his original paper for free here: www.researchgate.net/publication/2495826_Steering_Behaviors_For_Auton...
Make Beautiful Buttons Easily in GameMaker Studio 2
Переглядів 8 тис.3 роки тому
Make Beautiful Buttons Easily in GameMaker Studio 2
Pursue, Evade, and Arrive in GameMaker Studio 2
Переглядів 3,6 тис.3 роки тому
Pursue, Evade, and Arrive in GameMaker Studio 2
Introduction to Steering Behaviors in GameMaker Studio 2
Переглядів 7 тис.3 роки тому
Introduction to Steering Behaviors in GameMaker Studio 2
Kingdom, but in Space? (Game Jam Devlog)
Переглядів 2,4 тис.3 роки тому
Kingdom, but in Space? (Game Jam Devlog)
Thirteen Keyboard Shortcut For GameMaker
Переглядів 2,3 тис.3 роки тому
Thirteen Keyboard Shortcut For GameMaker
Perlin Noise in GameMaker Studio 2
Переглядів 14 тис.3 роки тому
Perlin Noise in GameMaker Studio 2
Made in GameMaker - Showcase
Переглядів 12 тис.3 роки тому
Made in GameMaker - Showcase
PRNGS in GameMaker Studio 2.3
Переглядів 1 тис.3 роки тому
PRNGS in GameMaker Studio 2.3
Important GameMaker and Tutorial Announcement
Переглядів 5183 роки тому
Important GameMaker and Tutorial Announcement
Default Values for Optional Arguments Update [GameMaker Studio 2.3]
Переглядів 1,9 тис.3 роки тому
Default Values for Optional Arguments Update [GameMaker Studio 2.3]
More Vector Functions
Переглядів 2,2 тис.3 роки тому
More Vector Functions
Magnitude and Normalization (Vectors in GameMaker Studio 2.3)
Переглядів 3,9 тис.3 роки тому
Magnitude and Normalization (Vectors in GameMaker Studio 2.3)
Endless Runner (Tiny Games with Source Code!)
Переглядів 3,2 тис.3 роки тому
Endless Runner (Tiny Games with Source Code!)
Tiny Games (with source code in GameMaker Studio 2.3!)
Переглядів 2 тис.3 роки тому
Tiny Games (with source code in GameMaker Studio 2.3!)
Vectors in GameMaker Studio 2.3
Переглядів 8 тис.3 роки тому
Vectors in GameMaker Studio 2.3
The Pubsub Pattern in GameMaker Studio 2.3
Переглядів 4 тис.3 роки тому
The Pubsub Pattern in GameMaker Studio 2.3
Making a New Enemy (Enemies in GameMaker Studio 2)
Переглядів 3,1 тис.3 роки тому
Making a New Enemy (Enemies in GameMaker Studio 2)
Tips and Tricks for Translating Code to GML
Переглядів 9333 роки тому
Tips and Tricks for Translating Code to GML

КОМЕНТАРІ

  • @duhhhmick9532
    @duhhhmick9532 День тому

    thank you so much for this series!

  • @MUJUNKY
    @MUJUNKY 7 днів тому

    Hey, so this is a question I haven't been able to answer despite looking at multiple tutorials about Instance ID's. The way that I've got my game's weapon/equipment system working, is that in the Create event of any given instance (Player, Hostile Drones, etc.) there is an Instance_create_depth(xyz) function that adds their weapon to them. That works with (1) instance of an object, but when there are multiple, every weapon meant to spawn on the multiple drone instances, spawns on the first drone instance put down. My drone enemies all have turrets that need to rotate independently of the main body of the drone, so I need two pieces. I'm trying to figure out how to re-write the code in the drone object to spawn all the unique instances of drone_turret, on the proper instances of Drone_Littlehawk, then delete them when their carrier drone is destroyed. Any tips? I know I'm probably not doing a great job of describing it, and without the code itself to look at, you're at a disadvantage to diagnose the issue.

  • @GameEngineGeek
    @GameEngineGeek 10 днів тому

    what do macros do differently then arrays?

  • @itaisinger1360
    @itaisinger1360 13 днів тому

    Goat

  • @fannyslam
    @fannyslam 22 дні тому

    I've always wanted to make this style of game, thank you!

  • @brianjarema264
    @brianjarema264 22 дні тому

    I dont know how youtube is just showing me this now after all this time. But I am glad i found it at the right momment. Thank you

  • @pink_bazookapod
    @pink_bazookapod 26 днів тому

    can someone please tell me if GMS2 is free or not. Or even any pricing complications

  • @jaykay2923
    @jaykay2923 Місяць тому

    cluade sonnet 3.5 has come out since this video and chat gpt has gotten updated and is now familiar with the updated version of gamemaker studio. It has been a great resource for me to learn code from scratch and Is a great tool for dealing with specific code problems without having to post to a forum or search for an hour. I had no idea that bing used chat gpt! since you are limited by the amount of messages per 5 hours I will try bing to see if it lets me use that once I hit the message limit. Keep up the good work!

  • @HeathcliffeMcHarris
    @HeathcliffeMcHarris Місяць тому

    dang I just wanna draw that read-out box in the top left XD

  • @HeathcliffeMcHarris
    @HeathcliffeMcHarris Місяць тому

    "/*" is a win here for me, thanks

  • @jordanedwards3114
    @jordanedwards3114 Місяць тому

    Seems more complicated than enums in a switch statement

  • @MrMaxwell218
    @MrMaxwell218 Місяць тому

    I cannot thank you enough, I always wanted to reproduce unity's event subscription in gamemaker. Used your project's base as a way to make my own event manager system, done entirely with structs. My game controller creates a new event manager, which is stored in a global variable. That global variable is then used in those script functions to call that event manager's functions/methods. Really nice system, and will definitely watch more of your videos in the future!

  • @VanDame-t7w
    @VanDame-t7w Місяць тому

    Thank you sir so much....

  • @siskavard
    @siskavard Місяць тому

    I can't code at all & barely understand Gamemaker. I was able to get ChatGPT to set up my player sprites and movements easily, but then I'm currently trying to set up a turn based system & after many failed attempts I just gave up. It keeps trying to do the same thing despite me asking it to try something different & I don't have the Gamemaker knowledge to actually check if the code it's spitting out is reliable or not.

  • @MortemKage
    @MortemKage Місяць тому

    W man

  • @thndrking4
    @thndrking4 Місяць тому

    because of the use of "break", is it not possible to use this in any loop like "for" or "while"? Trying to find a work around.

  • @thehuggz-i9k
    @thehuggz-i9k 2 місяці тому

    minor annoyance: When you grab the slider it snaps to center on the mouse. Fixed by storing mouse_x - x when you grab (and clearing it when you release) and doing a little math when you clamp(mouse_x - grab_offset_x, x_start, x_max)

  • @AyeshaInt-z4j
    @AyeshaInt-z4j 2 місяці тому

    🎉

  • @infectedgoat99
    @infectedgoat99 2 місяці тому

    Almost halfway through your "Coding Fundamentals in GML" playlist and I have to say, these tutorials are really good and I am glad you made them!

  • @BazzaThePainter
    @BazzaThePainter 2 місяці тому

    need full tutorial please...

  • @mathieuDBilly
    @mathieuDBilly 2 місяці тому

    4 years later, this little trick is still working Thank you so much

  • @CoyoteArcade-182
    @CoyoteArcade-182 3 місяці тому

    keep up good work , nobody make videos so to the point with no bs and give actual good info , your a beast

  • @imnugget8085
    @imnugget8085 3 місяці тому

    You can tentically by sending a yyp file tentically and they can play it but saves files eont work sadly

  • @imnugget8085
    @imnugget8085 3 місяці тому

    He makes a great point i have a issue with moving platform cause i have no real reference for it to work from my head such as Clamp ect its like building a home with material you never seen its impossible

  • @PixelKnight93
    @PixelKnight93 3 місяці тому

    what about the times you'll need to define a local variable not because it's not needed else-ware but because an instance variable (a variable defined in the create event) for some reason won't work in the create event because it holds information that needs to be checked every step but needs to be used on the instance level to? For example, I needed to check for the _nearest instance then add it to the active_target variable in the create event but I also needed to determine if that instance !is_dead before allowing it to be added to the active targets but for some reason that instance variable doesn't want to be available to the steps event in the object it needed in under _active_target.is_alive == true but it works just fine under _nearest.is_alive == true.

  • @81Fredrick
    @81Fredrick 3 місяці тому

    Great tutorial, simple but for my dumb little head it is very needed. Thank you :).

  • @Milktaffy
    @Milktaffy 3 місяці тому

    this deserves more likes

  • @imnugget8085
    @imnugget8085 3 місяці тому

    Honestly just ask it to make me study guide also you have to ask it to make simple structure but if you dont know how to code you legit can get it to code cause there to many code languages even if i do GML it think or mess up built in variable even IF I TELL IT but with that said it clearly gotten dumber some how

  • @imnugget8085
    @imnugget8085 3 місяці тому

    This is so helpful another basic thing people get lost is when and when not add ( ; )

  • @martinmaxking
    @martinmaxking 3 місяці тому

    Year later and I still have problems with chatgpt working with multiple switch statements ;)

  • @plon4742
    @plon4742 3 місяці тому

    Hi Sam. Thank you so much for this video! I am familiar with GML and currently learning Javascript. But having little trouble understanding the JS concepts like arrow function, anonymous function, callback, etc. This video has been very helpful! Thank you!

  • @fredambrose
    @fredambrose 3 місяці тому

    Recursion often happens @ work when you are asked to do something bad or risky @ work, sooooooo just let your co-worker do it.

  • @fredambrose
    @fredambrose 3 місяці тому

    Hey; now I like playing Black Jack.

  • @ZayyzYT
    @ZayyzYT 3 місяці тому

    You should remake this video with the the new capabilities of the free tier

  • @fredambrose
    @fredambrose 3 місяці тому

    @ SamSpade can you do a video In referance to Green Eggs and Ham and saying the does and don't for video game development?

  • @brobotics3898
    @brobotics3898 3 місяці тому

    Thank you for this series.

  • @georgehennen
    @georgehennen 4 місяці тому

    Oh, someome who is pleasant that makes gm games. Dope

  • @Tofucakereal
    @Tofucakereal 4 місяці тому

    This doesn't work for me

  • @dvsteve71
    @dvsteve71 4 місяці тому

    is this still good in 2024?

  • @fredambrose
    @fredambrose 4 місяці тому

    I am a Truck Driver (CDL) trying to build a game like everyone else here, however I would recommend learning the basics of C programming and then learning GML from these tutorials before working on GameMaker Studio 2, I know all of my co-workers are laughing behind my back and saying it can't be done but I will keep trying, by the way my work week is usually 55 to 60 hour work weeks and I'm still here.

    • @tanura5830
      @tanura5830 3 місяці тому

      what. Why are they laughing? Because they think one man can't make a game? It's already been done. There are many people who made games solo. But you have to be skilled at both drawing and coding.

  • @criaturamarcelo8086
    @criaturamarcelo8086 4 місяці тому

    Sorry, how can i use the "_effect_blend"? I mean... how can i whrite their parameters?

  • @soubakouh
    @soubakouh 4 місяці тому

    Aleluia!!!! if anyone reads this comment.. Yes! this is your definitive video!!

  • @easternunit2009
    @easternunit2009 4 місяці тому

    and I’m guessing that tying all the states to enum values is even better right?

  • @Far.aep_
    @Far.aep_ 4 місяці тому

    Me after seeing the exam 8:34

  • @ajinkyax
    @ajinkyax 4 місяці тому

    Wow i was looking for broadcast event, and found this instead. Works 😃

  • @ajinkyax
    @ajinkyax 4 місяці тому

    Can we trigger events from an Object, such other objects can listen to it .

  • @81Fredrick
    @81Fredrick 5 місяців тому

    very informative, thank you for your tutorials

  • @EskinderWorkneh
    @EskinderWorkneh 5 місяців тому

    I'm raphael

  • @EskinderWorkneh
    @EskinderWorkneh 5 місяців тому

    Gyatt

  • @itaisinger1360
    @itaisinger1360 5 місяців тому

    thanks for making such high quality gamemaker spesific coding tutorials. i for one dont need it but ive referenced your videos to quite a few people by now, you are a lifesaver. or atleast saves some people from the hurdle of learning coding in a different language, only to then need to switch back to gml.