Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

193 Neutral

About mic_k

  • Rank

Personal Information

  • Role
    Game Designer
  • Interests


  • Twitter
  1. mic_k

    A quick question about style

    I do like arcade games, sometime i play turn based too. By your explanation, i think the difference between left side and right is the playing style. For the left side, what can be offer to the player are much more actions, such : player skill to aim shoot, evade foes bullets, utilize building trees to snipe from afar, sneaking (if AI implement sight range of awareness). Or maybe how fast player can disable foe's unit factory, before it swarm legions to push the player, should i take down all foes first, or direct ride to the base. Also can use bullet styles short spread or hard long range, area effects, etc. For the right side, do you mean to create team or single character control? If turn based style, i prefer team play, mean i can have mix of characters with various abilities and weapons of each, bullets stock or unique devices to carry. Player will be busy for their vehicle positioning at terrains, plan a combo/sequence attacks, or prepare team weapon setup for the next couple of turns.
  2. I think the pointer way can work, as suggested above. Since Triangle and Square both is a Shape, we can use one list/vector to hold all kind of Shape. And maybe we use pure virtual function: virtual void Draw() = 0; at the parent class Shape.
  3. mic_k

    Kids Coloring Book Mobile Games

    Hi, Referring to the topic queations, here what i think: 1. When i was a kid, i tend to see various of things at my colouring book, page 1 to end, then start choose which one i want to work on at that time. To return on the same image again, yes could be(to replay with other color style), but after exploring another images. 2. Childish style, it likely attract kid's vision. Flat & peaceful can be attractive too, but with additional caption or background. 3. I prefer fun rhythm musics, that include childish sound effect, not too slow, not too fast. 4. Maybe, for rewards, i vote the use of stars, badge, or title using monster/hero figure. That all my childish mind, hehe..
  4. Hi, @swiftcoder  : As for hacking/cheating issues, i leave it alone.  yes, players can track in memory when game in running by using certain tools. Regard to purpose of separate data details from program, so i think to re-arrange which data to be harcoded in program, and others to be put in separated data file. @timothyjlaird : If not in urgency and not necessary, or the data not so massive, i prefer to use simple data file, either plain text or converted in binary(or maybe the simple base64). Use mssql or maybe mysql will make player busy in installation & configure the db service. I'm thinking something easier, as you mentioned guess i'll find out about sqlite. Thank you. @frob  : I used to set-up my program to load data every start each of a scene/stage, when change next scene, i'll load again from another stage data file. Currently, i load when only needed, depend on situation of current gameplay progress/state. Is final-packed-format mean to load all everything(stages,object attributes) from the start of the game?  (i have not tried this before) Thanks all..
  5. Human-readable text files are an ideal database format for portability.  If you want to compromise, use a semi-readable format like JSON or XML.   Hi, Yes i agree about readable informations, especially from developers point of view. Currently i use data file in xml format.   But i'm thinking about to keep couple things not to be touched/changed by the players, that we want them to play the game from the start button which we provide for them, and let the game itself interracts with the database/data-file.   So players don't have to concern/open for data that we(developers) don't mean to share details to them. Except if somebody means for hacking, cheating some attributes value, they will use their own efforts & tools  (not a suggestion ).
  6. Hi all, thank you for responses..  now i've got some perspectives..   @Servant of the Lord  : I've already plan to do encryption/encode, or to-binary method(as yours), or maybe compression, in the case: not to let data to be in plain text, just it..    Sure i notice one consequence is i have to provide another program, for me only, to scan-read the encrypted data file, so that i can do modification of some attributes when necessary, then save again back in encrypted. And why to use database tool, from what i imagine is so i can just save/read data, or prepare some initial attributes without do encryption or compression again, just use the tables, and then put database password that i can hardcode inside program.   @ankhd : I'm considering some pros & cons for using database tool with c++.. Maybe, perhaps, i don't know yet,... that the data someday can be ported(too) for use in another program(java,c#), maybe
  7. Hi, I'm finishing a small game prototype with c++, now still considering about game data for character attributes, levels/stages info, and saving game progress.   Currently for character attributes (like health, damage, size(width & height), weapon, shieldpower.. etc), i put it directly harcoded in character class. Example: class Foe1 {    public:       Foe1();       void Moving();       void Attack();      private:       int Size_W = 50;       int Size_H = 80;       int Max_Health = 200;       int Max_ShieldPower = 100;       int DamagePower = 50;       string WeaponType = "TypeA05"; } also with Foe2, Foe3... have same attributes, but with different value.   For levels/stages info, i put into separate files (in xml), so everytime to begin new level i will load the level attribute/info from my level01_data.xml, level02_data.xml... file.   My question: ** Is this ok to put all those harcoded attribute at class?     ..or should i put the attribute value in separate data file, then load it when everytime creating a Foe instance?   ** To save data in separate file, for char.attributes or game progress, i'm considering to save those into encrypted files or using (maybe)a light-weight database tools. Which method is probably better?  (considering the balance of "runtime loading process" and "data management issue" )     This far my program run ok and smooth, but somehow i feel my codes are bit crowded To do modification at next month or 2 months again, i'm affraid to fix certain things may not simple.   Any opinions & suggestion are welcome, thank you..  
  8. mic_k

    Massive Python Example Script

        Small angle from me.. Perhaps to put some thing like table of content at the very top page, describe all the main sections title & subs there, so people who read can see the whole (possible)features/topics that available, then they will find based on those section title to the related content, wherever.   Anyway, how is the finding method perform ? If using html, can use hyperlink that pointing to certain section inside one page.
  9. Hi,     I've read about the frame-extraction for .gif file, thanks. This will much help, when i want to do prototyping project and to use an ready-animation image of someone's creation out there.   At first, i was thinking, that i with our graphic designer friend working together to integrate images(created by our team) into our game, then someday, need a change in an object with animation frames, regarding the sequence change or additional images (with)in the sequences itself. So the designer just to modif the image file, as i imagined first time, then when finish, just to plug and play.. ta da.. (without i need to change some code, even nothing matter for the total frame numbers of the sequences)   Some animation objects i need to control the sequences from code, maintain the detail & smoothness in graphic, yes i do. But what about for some other static/passive(not a main) objects ? (like simple-crash explosion, some medium stars that twinkle, bullets, etc..)   Actually not just about the .gif format in specific (sorry the title mention only '..gif image'), maybe any other format, tools, library, anything that animate a group of images. If there are.. That's what i have in mind
  10.   I'm using constants and enums, and a lot too   The constants, i use it for: - hold formula or general fix number (Phi, Dozen, DaysInWeek, etc..) - custom representation, which can be changed depend on different project needs, like:  ScreenWidth, ScreenHeight, FramesPerSecond, etc..   And the enums, for: - behavior that represented by statement, like: IDLE_LEFT, WALK_LEFTDOWN ;  or maybe a boolean: IS_JUMPING, IS_ALIVE, etc.. - error exception, like: FILENOTFOUND or SOUNDERROR, etc..   I just separate the mean, that: for constant => i do care of the value(string or number) they hold inside for enum => i only have to make sure there are no ambigous   So, yes, i use as many needed in my program. Considering that will be easy for modification things by parameter someday, or bugs found 2 months later, and also, when it is a teamwork project where each programmer maybe need to help fixing somebody's work.
  11. I've been search any info related render .gif animation with SDL2 (currently i use this for display, text and sound). And from what i've got is.. since i run the render in my routine (game)frame loop, that .gif does not show animation as i expected, it shows only the sequence 1 from my .gif file.   As i read forums/articles, said that SDL2 rendering static image based, nothing more about feature of automatic/direct draw for ready-animation .gif file. Has anyone found-out one ? But, if to force the idea (display an animated gif file, and let it play itself, independently), is to separate things by multithreading tricks..  haven't tried this. Will this worth ? (not sure) Or maybe need another library, to work together with SDL2, just to show my animated .gif as @phil_t mentioned.   ** i'll find out about this.. thanks!   Well, meanwhile i'll stick on the manual animation mechanism (frame-by-frame) inside my codes, fix up things, gameplay especially, overall.   Thanks for all opinion.. keep up!
  12.   A sequence that long will likely cause problems using an animated GIF - timing. You won't know exactly when the GIF animation has completed. If the user presses "up" and, before the animation finishes, presses another key ("left" or "down" or ...) - what action does your game take, and when do you take it? Do you just interrupt the animation (probably won't be pleasing for the user), or guess at the time it finishes, and/or guess which image in the sequence is being presented to make a smooth transition?     You're right, i had those issue. This time, the process is interrupted, my animation-set instantly changed into the new direction of images sequences. Also, back to the learn of "object not stop instantly, but it slowing down (stopping) until zero-movement", i have to fix this, regarding the transition scenarios. Thanks!   Ok, i think the GIF animation won't work for this necessity of directional (smooth)transition control.   Perhaps, i still be 'allowed'   to use GIF animation for explosion/crash images, since it just to running static in sequence.
  13. ** Yes, i mean an image file with extension .GIF   ** I do feel safer when many things are under control(by my codes), and gives flexibility too, of course. Many ways can be done, or maybe certain, to achieve one purpose, i got it. It is a thought, maybe, about to mix some partial existing objects (if possible), rather than to build/rebuild a new one. Since you mention about gain, mean benefit, pros or cons, yes.. that's what i'm currently thinking..   Well, thanks for the opinion
  14. Hi, I'm working on 2D air shooting (using c++), idea is something like 1943 or Gradius. Basically, player moving around up, down, left & right, shoot bullets to enemy, and enemy shoot too. It works find, and now i'm in modif & fix-up things. The ship movement animate some sprites, following the direction button hit by player. If moving up, then i animate the up-movement sprites, about 4 images within some(1 or 1.5) seconds, as long the player hold the up-button. Same on with moving left, i play the left-movement sprites, also the behavior for moving right & down. And now i have this in mind: 1. I will stick to play animation sequence using program(codes) everytime player push the button. Or, 2. Should i change, by prepare 4 images(up, down, left, right) in gif format, which is each image already play their own frame sequence as i setup from image designer tool (not to play the sequence by codes) I'm thinking about: - Memory consumption when game is running, overall, regarding player's directional movement. - Game modification (if someday i need to change/add the sprites, sequences, etc... related to efficiency or practically) Does anybody have opinion ?  Thanks.
  15.   Yes, for integer, this will do.  Thanks for correction   For the max length of the bar, i guess that 2Fruit want to show to the player the growth of health level that already progressed so far.   Somehow i prefer the idea of static length for the max healthbar (white bar), and so maybe i'll add indicator display in number too (HP / CurrentMaxHP).   But if want to stick on growing bar idea, need to consider about the length limit (against the screen limit). Matter of placement, sure many ways can be.    Programming is fun 
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!