Thursday, April 13, 2017

Tile maps Construct 2 & Construct 3



Understand that basically all c2 tilemaps are is a sprite sheet without animation. Meaning a series of images. Now Construct 2 tilemaps do not support animated tilemaps on it's own. Meaning sprites are very useful for these animated objects. There are a few work arounds people have come up with other than sprites, but it kills performance all the same. Which can be a drag.

Now when creating a tile map you have to think of widthxheight for each tile. Example: I made one with 64x64 images. Keep in mind if you want to improve performance and have no transparent textures consider using index color mode even if you don't remove colors at all it will greatly improve performance by lower resource cache as the image size will  be lower, freeing up more memory. More importantly it removes the need for over redundancy of creating more objects.

Now for collision don't worry about tiles that have transparency within them, the only thing you need to do is setup the collision polygon shape up for them. c2 does not auto setup collision on tiles like it does with sprites. Meaning all you need to do is click on the polygon icon in the tilemap pannel within construct 2. Speaking of the tilemap panel it supports: flipping, mirroring, and 90 degree rotations.

What mirroring, flipping and rotations mean for you is you do not need to create multiples of the same tiles. Unforchently the object tilemaps does not have a angels property, this is a downside, meaning you can not rotate the entire tilemap at a angle based off the player, which means the behavior rotate, and phyics will not work how it is intended. Physics will need to be applied to it how ever if you have objects with physics if you want them to collide with you tile maps.  You will just have to make them unmovable, and with non-solid tilemaps you will just have to disable them by the instance if you want to repeatedly use the same tilemap for background as foreground.

If your asking yourself about construct 3's polygon button in the tilemap editor panel then simply double click on the tile and it should popup the polygon editor button for collision.

Larger tilemaps will consume more memory so splitting the tilemaps into multiple tile map objects can help. But only when it is necessary. If you want them to have same code and behaviors and values, I suggest applying family grouping to your tilemaps and referencing that in your event sheets.

Tilemaps are not perfect how ever, they lack animation, they act as a singular object rather than a grouping of them when behaviors is applied, and you may need many of them to do the tasks of tiled backgrounds and other object types. But they are rather useful. You won't be making a sonic clone with only them. IE if you apply opacity to a tilemap it will apply it to all, which can be a good thing but also a bad thing. Ex: Windows its bad for, front walls like going inside a building Good use of opacity.

It all depends on usage and you don't need to keep it square thanks to collision polygon mapping.
You wont be making a sonic clone anytime soon as it lacks angles, you see creating a sonic clone would imply you are able to change the players sprite angle based off the surface he is on's angle. Now yea I know sonic was made with tilemapping but construct tilemapping and sonic are different  and how collision is programmed in sonic  is massively different. Yes I am aware you can make it based off triggers, and other objects but like I said you won't be doing it based off tilemap objects without them. 

No comments :

Post a Comment

Please be kind to others, and my self.

Rss Feed

Undeadbobop's blogs

↑ Grab this Headline Animator

Labels

construct 2 Nintendo game ouya wiiu review android games windows pc linux Chrome google Microsoft development mac web Dreamout controller free scirra chrome os chromebook play steam Sega controls programming #nintendo 2d Apple DRM Wii template unity Dream gaming help store valve video youtube 3d How to bus construct game development gamepad menu music out rush update video games HTML5 SEO bad chrome book console custom driver experience javascript online tutorial 360 GNU/Linux Iphone Pokemon go art code engine font iOS os software sprite support website xbox Saturn adventure app assets cheap clone css down fix gamejolt internet level life opengl phone sale sound spriter work 3ds Fishing Game development companies in detroit Nintendo Switch Playstation Scam Sony Sucks Ubuntu acer adv advance amazon book chromeos computer delay drawing effects emulation example gamestop gimp halflife java kongregate modeling network nvidia pack platformer problems project ripoff security sonic spritefonts starter system undeadbobop windows 8 2014 Beginner C# Corsair DLC Developers Dreamcast Genesis Mario Mario Kart Micro-transactions Photoshop Things Virtual abuse acer 11 ads advertisement application apps arcade bing blog blue bugs c++ coin construct 3 construct2 design develop directx email emulator face faceplate fail functions game development tools give away googleplay issues itch.io lies link make money nes of optimization options patch php plate pool pro retroarch snes source summer terrible tf2 tools top trirectimo up usb virtual console voice vs webhosting worst xml zelda 1 2 3 submit pro 2 5 AI America C# XNA Gamestudio CD Call of Duty Cast Comparison Controller Pro Controller Pro U Copy DVD Digital Direct Discs Doom Drive East Detroit Eastpointe Eshop GBA Golden HTML ID Marker Megadrive Moore Mupen64 Nights Old PS2 Personal Peter RSS Record Retropi RollApp Screenshots Secret Sega Genesis Ultimate Portable Game Player Sega Saturn Skateboard Switch TV USA WoW XBL Zelda breath of wild ad adsense adv menu alternative angry art work assault atari audio away balls best bfxr block blogger bo's bobop brick bride bug build bundle bus driver 2d experience rush capture card cards cat character choice chrome web browser club color command commercial connect contest corruption crash create crush dead demo depression descriptions done download e3 easy education ethics event evil family features feed flash fonts fps fraud free software fx galaxy game development companies game development companies in michigan game engines gameplay get gif give gnu google chrome graphics greed guide hackers half halflife 3 halo head honest hosting is issue item items jam jolicloud keyboard kick kickstarter kitten kitty lag lan learning liars lock low making manager maps menus micro minecraft mobile mods monogame movie multiplayer netplay networking new news noncommercial not odd off one paint pewdiepie pie players playing plugins pokemon port program quake quick raspberry pi red remote require rip road save saving screen screenshot screw script sdl search sega genesis server settings site skate skeleton small snapshot song sounds sprite sheet steamos team tegra templates text tic tac toe to tool top 10 touch tree unreal use useless version videogame virus ware web server webgl wedding wireless world xbone xbox 360 xbox one xboxone zombies #e3 $oft 10 10 ways 200 2015 25th Anniversary 2600 3.14 343 3:4 ratio 3DTin 3d modeling 5 nights 64 7 7th guest 8 90 API ARM AT&T ATOM ATT AVGN Ace Adriano AlphaOmegaSin Android disable ads in games Animation Backlinks Balmer Batdan Bernie Bethesda's New Review Copy Policy Bill Blackjack Blackmail Bluetooth Boarding Bros Bully C++. directx Cities Classic Computers Consoles Cool Corruption in gaming news journalism Creators Cyanara DDOS DMZ DNS Deluxe Detroit Dogs Dragon EA EULA Eco Edge gamepad Edition Emio Encore F.E.A.R. FCC Facebook Facebook account hijack Fanboy Feeds Feminism Footage GPL Game review Gamer Gates Genesis Ultimate Portable Game Player God Gold HD HDMI HP HTC Vive Halo 2 Halo 2 Anniversary ID Tech IDE IE IGN IOS 9 ISP IT Impact Impressions Install Irate Irategamer Jaden smith Japanese Jim Kainy Kart Kim Jong-un Knuckles Kotaqu LG LGBT Las Vegas Last Launch Lenovo Library Linksys Lycoming mall Mad Mad over Mario Galaxy Marker sprite font Metro Michigan Microsoft store in michigan Microsoft wordpress Monodevelopment Moon Mortal Kombat Mote Movies Mysterious NX Navel Nes classic Next Nintendo 64 North Korea November OC OS X OSX Ocarina Ohio Omega Onedrive Paradise Paths Performance Pokken tournament Pikachi controller Projared Promotion Pygames Pyshell Python Python Fiddle RPG Rage Released Remix Retrobit Retroduo Retrogen ReviewTechUSA Rock Rock Paper Shotgun Rockstar Roseville SMM SQL SWF SWJ Samsung Scholarship Shaft Ship Sin SkyDrive Smash Sprite font Star Starling Steam controller Steven Stolar Sun Super Mario Super Mario Maker Super Smash Bros Tails miles Tech Text adventure The Interview The Letter Tony Hawk Total Media Town TreeFall Studios Treehouse Tuner Twitch Ubisoft VBA VLC VR review Valor Vegas Vengeance Video game art Watch Watchdogs Wino WoW! Woofle XBLA Zilla abandon abandonware accessories accounts acting ad free adapter add on admin adreno advance menu system advertisers affordable airplane algorithms alone alpha always amazing amazon app store amd animal animate animated animations app developer in detroit Michigan app development appegg appspotr arch array ashleey asus atgames attack audience auto back back links background badges bag bags bandicoot banks bar base basic basics basketball battery battle. DLC. link bayonetta beating bed bgoat big bios bioshock birds birthday bit bites black blackberry blade blast blender blockstorm bloodmoon blur bo boom bored boxes boy breaks bricks broke broken brotherhood browser bsd buck bucks buggy bungie bust buy c++. html c64 cable can can't canceled candy capcom car care caret-t caster cb3-111 chair challenges change cheaters cheating checking chimp chimpmail chrome cast chromebooke chromecast app clara clara.io classical clearance client cloud applications cloud computing cocoonjs code envy coding college colour comedy comments community compatibility competitive market complaints complete roms list computer AI connect 4 connecting cons constroller construct 2 gaming engine construct 2 gaming engine plugin construct 2 holiday plugin construct 2 plugin construct 2 time and date plugin content convict convict gaming cost costume couch counter counterstrike court cpu crafting crap crazy crd creating creation creativity credit crossing crusher ctf cubes cue curse cursor customization templates cylinders daniel date object deathmatch dell desert desktop desura develoming developing development kit dial dialup died difficult dig disabilities discontinued dishonest disney do doesn't work dollar dos downfall drag dreams drug store ds duckduckgo dug dumb dumbphone easter egg eastside ebaulms edge electric electronic email list eminem emu emulators end engines enlightenment entertainment environment ethical practices ever exclusive expand expired site exploit eyes fall fallout fallout 4 famous fan art fast fear fees feminist file fill fire firefox firefox marketplace firefox os firewall firm firmware first five flaw flickr football for forget forgotten domain fortress fox frame frame rate framework freddy's free money free to play freeware fried friend friendship full fullscreen fun gambling game asset pack game list game maker gameboy gamegear gameinformer gamemaker gamers gaming assets gaming easter eggs garrys mod gas gears gender glitches glove go good goofed google play google+ gore gorescript gpu grand grandtheft auto gray greedy green grey grid groom gta guestbook gunners h2100 hacking halflife 2 handheld hard hardware harmony hawk headphones headset hedgehog hell hexen highschool highscore hijack hl1 hl2 holidays home homebrew homicide hook hotel hotmail humble humor hyperkin hypermart illegal image images improves index color indie indiedb industries industry information informer inn input input device insomnia instinct institute instructors intentional internet explorer internet radio interview introduction ion ip ip address irish iron island isometric jack james jelly jif jiggly puff jiminquestion job joint joke jokes journalism joytokey js k70 key keystation killed killstreak kingdom hearts kryo land lash law legacy collection legal length lerp liar lib GDX light lilly lithium live load locked logic logmein lonely loop lost temple text adventure ludei lynx machine macomb community college macombacon mail mail chimp make money fast makefile maker manifest map market market share marketing marriage married mass email subscription service master mechanical media megaman melody menu system meow midi mii miitomo mike mike v mind mini mini game minimum wage minish cap misleading misleads moddb mode models mogotxt moltres monetize monitziation montization monzilla mouse murder musial mussels mystic n64 nba need nerd net netlink nexon nfl nitch no notepad++ now nurse nyan o'reilly odk office offline oh operation out of order out of service out there overscan p2p p2w pad paid pandora panic papagayo paper weight parody party pause pay peer peerblock pewdie phishing phones photo pi piano picture pin pink pixel art plagiarism plants plants vs zombies plastic platinum player playzool please plus poke balls poker pokestops pool table popular populate portable posts power practice practive pre-order premade presentation preview price private promises promote provider ps1 ps3 ps4 public purple qlife qualcomm quest rack radio raffle ram random rant rare raspbian rate razer recommend recording red cherry redit remove renaissance repair representation resources rest retirement retrode retron 5 retry rewards rigging ripper river roads rolfe rom roms routing saga same score screen sharing screencastify scroogle scum seamless seed sega dreamcast sega master system sequel servers service setup seven card shapes share this shareware sharing shield shit shockwave shooter shop shot signs simple slavery sleep slip slumber smart smartboy snapdragon soda solitions sparks sparky spartan specialized spheres spoiler free spotify spyro spyware stakes steam box steam gamepad steam os sterling stop storm strategy game strategy guide stream streaming strike stud studio studios styles subscribe success super super mario maker bugs super mutants sync systems table tac tags tamagotchi target target marketing tax taxes teachers teaching team fortress 2 crafting teams temple run temple run 2 terrorists testing textbase texture packer the king's league odyssey the world theft this thoughts thunder tic tile tilemap time time date tin titles toe tony top 5 topic matter torque touchpad toys trading travel traveling trees tube understanding news feeds unearthing unethical bots union unusual usb 3.0 usb y users vc vidme view views villager vimeo vine vintage virtual reality volume voxel wall wallet wan wave wayback web design web server ultimate webmaster websitesubmit webstorage webstore what is my ip white will Smith word wordpress workaround workshop xbox gamepad xboxdone xeno xenoblade xhml xl xna you yourself zapdose zip zombie

promotions