• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Sean Frazier

Members
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

122 Neutral

About Sean Frazier

  • Rank
    Newbie
  1. I am working on a scrolling shooter and I want certain objects to only spawn once a specific wave has been reached. Currently I have a object that Initializes a variable called "wave" and calls an alarm to increase the wave variable by one every 450 frames. I know this works as a have a GUI element that displays the wave number. I have another object that is supposed to spawn enemies once the wave reaches a certain variable, however when the wave has reached that variable nothing spawns. If I hard code the specific wave number that the enemy is to spawn it works.     Obj_wave Create: global.wave = 1; //next wave alarm[0] = room_speed*15;  obj_wave Alarm [0]: //new wave global.wave +=1; //speed up spawn every wave obj_spawner.spawn_rate -=5; //call alarm alarm[0] = room_speed*15;   Obj_spawner Create: randomize(); spawn_rate = 50; spawn_rate1 = 200; spawn_rate2 = choose(200,400,600); spawn_rate3 = choose(200,300,400); spawn_rate4 = choose(500,700); alarm[0]= spawn_rate; alarm[1]= spawn_rate1; alarm[2]= spawn_rate2; alarm[3]= spawn_rate3; alarm[4]= spawn_rate4;  obj_spawner alarm[1]: //random y randomize(); randY = floor(random(room_height)); //create asteroid if(global.wave>=2){ instance_create(room_width+40,randY, obj_shooter); alarm[1] = spawn_rate1; }  I am working on a scrolling shooter and I want certain objects to only spawn once a specific wave has been reached. Currently I have a object that Initializes a variable called "wave" and calls an alarm to increase the wave variable by one every 450 frames. I know this works as a have a GUI element that displas the wave number. I have another object that is supposed to spawn enemies once the wave reaches a certain variable, however when the wave has reached that variable nothing spawns. If I hard code the specific wave number that the enemy is to spawn it works.
  2. I have a java problem for class and I Have no idea where to begin with it. the problem is     Write a while loop that accepts numbers from a user and sum only the numbers that  are odd? The loop quits if the given input number is -9999.    any help would be greatly appreciated
  3. I just began teaching myself c++ a few days ago. I decided to use what I have learned so far to create a quiz game to help me study for finals. Its a pretty simple program but its effective. [CODE] #include <iostream> using namespace std; int main () { char Motown[100], phillysoul[100], singersongwriter[100],multiplatinum[100],Diamond[100], toasting[100],gold[100],platinum[100], ska[100], rocksteady[100], reggae[100], afterbeat[100], punk[100], newwave[100], eightyspop[100], disco[100], sixteenbeatstyle[100], AOR[100], walkman[100], sampler[100], sequencer[100]; // Motown cout << "blend of R&B and pop\n"; cout << "based in Detroit\n"; cout << "Until 1988, largest black corporation in U.S.\n"; cout << "Started by Berry Gordy in 1959\n"; cout << "Goal: to produce black music that would be more accessible\n"; cin >> Motown; if(!strcmp(Motown, "motown")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - motown\n"; system ("PAUSE"); system ("cls"); //Philly soul cout << "70s soul style\n"; cout << "Associated with producers Kenny Gamble and Leon Huff of Philadelphia International Records\n"; cin >> phillysoul; if(!strcmp(phillysoul, "phillysoul")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - phillysoul\n"; system ("PAUSE"); system ("cls"); //Singersongwriter cout << " musician who writes and performs own material\n"; cin >> singersongwriter; if(!strcmp(singersongwriter, "singersongwriter")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - singersonwriter\n"; system ("PAUSE"); system ("cls"); //toasting cout << "DJs use rhythmic patter over records\n"; cout << "originated ing jamaca. djs manipilated recoreds to make cool shit\n"; cin >> toasting; if(!strcmp(toasting, "toasting")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - toasting\n"; system ("PAUSE"); system ("cls"); //SKa cout << " uptempo 4 beat syle with jump band instrumentation\n"; cout << "lyrics about romantic love\n"; cin >> ska; if(!strcmp(ska, "ska")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - ska\n"; system ("PAUSE"); system ("cls"); //rocksteady cout << "slower, more flexible rhythm\n"; cout << " more active bass line\n"; cout <<" lyrics – social commentary\n"; cin >> rocksteady; if(!strcmp(rocksteady, "rocksteady")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - rocksteady\n"; system ("PAUSE"); system ("cls"); //reggae cout << " mixture of Caribbean folk music and American R&B\n"; cout << "evolves from Ska and Rock Steady in Jamaica\n"; cout << "slightly faster, greater rhythmic complexity\n"; cout << "syncopated bass lines, interlocked guitar, bass and drum parts\n"; cin >> reggae; if(!strcmp(reggae, "reggae")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - reggae\n"; system ("PAUSE"); system ("cls"); //afterbeat cout << "Accents in between beat\n"; cin >> afterbeat; if(!strcmp(afterbeat, "afterbeat")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - afterbeat\n"; system ("PAUSE"); system ("cls"); //punk cout << "reduction of rock to it’s most essential elements\n"; cout << "Saturated Rock Rhythm\n"; cout << "8 beat style dominates every instrument\n"; cout << "short repetitive songs, extremely fast tempos\n"; cout << "simple forms, harmonically simple (often I IV V)\n"; cout << "intentionally anti-commercial\n"; cin >> punk; if(!strcmp(punk, "punk")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - punk\n"; system ("PAUSE"); system ("cls"); //newwave cout << "More musical and more commercial evolution of punk that retained punk’s attitude\n"; cout << "influence of other styles, including Reggae\n"; cout << "lyrics in the forefront, the music enhances the words\n"; cout << "more pop influence\n"; cin >> newwave; if(!strcmp(newwave, "newwave")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - newwave\n"; system ("PAUSE"); system ("cls"); //80spop cout << "Influence of 70’s styles including: punk, funk, new wave, reggae, soul\n"; cout << "Dance oriented rock\n"; cout << "16th style beat\n"; cin >> eightyspop; if(!strcmp(eightyspop, "eightyspop")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - eightyspop\n"; system ("PAUSE"); system ("cls"); //disco cout << "Dance music originating in gay discotheques in New York City in early 70’s\n"; cout << "four to the floor style beat – strong accent on each beat\n"; cout << "16th style beat (each beat subdivided into 4 even parts\n)"; cout << "Thinner texture than funk\n"; cout << "use of synthesizers, electronic instruments and sounds\n"; cout << "Focus on singles, not albums.\n"; cout << "12 inch 45 RPM (disco mix), longer playing, bass heavy – foundation for early rap\n"; cin >> disco; if(!strcmp(disco, "disco")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - disco\n"; system ("PAUSE"); system ("cls"); //sixteenbeatstyle cout << "each beat subdivided into 4 even parts\n"; cin >> sixteenbeatstyle; if(!strcmp(sixteenbeatstyle, "sixteenbeatstyle")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - sixteenbeatstyle\n"; system ("PAUSE"); system ("cls"); //motownformula cout << "------MOTOWN FORMULA------\n"; cout << "- song begins with intro riff\n"; system ("pause"); cout << "lead vocalist enters, soon followed by supporting backing harmonies\n"; system ("pause"); cout << "chorus builds up to title phrase which is repeated several times\n"; system ("pause"); cout << "background horns reinforce vocal harmonies\n"; system ("pause"); cout << "lush string parts soar over choruses\n"; system ("pause"); cout << "instrumental interlude after 2nd chorus\n"; system ("pause"); cout << "often modulating to a higher key for final choruses\n"; system ("pause"); system ("cls"); //AOR cout << "Album-oriented Rock\n"; cout << "American FM radio format focusing on album tracks by rock artists.\n"; cin >> AOR; if(!strcmp(AOR, "AOR")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - AOR\n"; system ("pause"); system ("cls"); //walkman cout << "Allowed portable music, people could make own mixtapes\n"; cin >> walkman; if(!strcmp(walkman, "walkman")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - walkman\n"; system ("pause"); system ("cls"); //sampler cout << "digital devices capable of recording, storing, and reproducing any sound\n"; cin >> sampler; if(!strcmp(sampler, "sampler")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - sampler\n"; system ("pause"); system ("cls"); //sequencer cout << "device allowing digital assembly of a song one track at a time\n"; cin >> sequencer; if(!strcmp(sequencer, "sequencer")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - sequencer\n"; system ("pause"); system ("cls"); //gold cout << "sale of 500,000 units\n"; cin >> gold; if(!strcmp(gold, "gold")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - gold\n"; system ("pause"); system ("cls"); //platinum cout << "Sale of 1 million units\n"; cin >> platinum; if(!strcmp(platinum, "platinum")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - platinum\n"; system ("pause"); system ("cls"); //multiplatinum cout << "sale of over 2 million units\n"; cin >> multiplatinum; if(!strcmp(multiplatinum, "multiplatinum")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - multiplatinum\n"; system ("pause"); system ("cls"); //Diamond cin >> Diamond; if(!strcmp(Diamond, "Diamond")){ cout << "Correct!\n"; } else cout << "incorrect!\n"; cout << "correct answer - Diamond\n"; system ("pause"); system ("cls"); //end cout << "XXXXXX---GOOD LUCK---XXXXXX\n"; system ("PAUSE"); system ("CLS"); } [/CODE]
  4. Thanks for the replies everyone. After doing some more research I have decided to stick with c++ and learn it inside and out. From what I have read that seems like the best course of action. I have also enrolled in a cs and intro to programming course for next semester. Im really looking forward learning all of this!
  5. Ive written a bunch of fully functional console programs with c++ but Im not really sure where to go from there to start creating graphical programs. Im still very new at all this
  6. I have spent a few weeks learning c++ and have written a few long programs but everyone tells me c++ is useless. Is that true? If so what is the best language to start with? I plan to try and create my own games once I settle on a language.